4 <div id=
"container" contenteditable=
"true">This shouldn't be underlined.
<div id=
"div" style=
"text-decoration: underline;">This should be underlined.
</div></div>
5 <script src=
"../../resources/dump-as-markup.js"></script>
7 var div
= document
.getElementById("div");
8 var range
= document
.createRange();
9 range
.setStart(div
, 0);
11 var sel
= window
.getSelection();
13 document
.execCommand("Delete", false, null);
15 Markup
.description('This tests for a bug where underlined content would lose its underlining' +
16 'when deleting the line break before the paragraph that contained it.');
18 Markup
.dump('container');