1 <p>This tests for a bug in moveParagraphs that would cause an empty paragraph to collapse.
</p>
2 <div id=
"div" contenteditable=
"true">There should be an empty paragraph below this one.
<div>There should be an empty paragraph below this one.
</div><br>There should be an empty paragraph above this one.
</div>
6 window
.testRunner
.dumpAsText();
8 var div
= document
.getElementById("div");
9 var sel
= window
.getSelection();
12 sel
.modify("move", "forward", "character");
13 sel
.modify("extend", "forward", "line");
14 document
.execCommand("Delete");