2 if (window
.testRunner
) {
3 testRunner
.dumpEditingCallbacks();
4 testRunner
.dumpAsText();
7 <p>This tests the pruning that delete does when the it merges two paragraphs when the selection to delete spans multiple blocks.
</p>
8 <p>You should see:
<br>b
<b>ar
<br>baz
</b></p>
9 <div id=
"test" contenteditable=
"true">boo
<b><div>bar
</div><div>baz
</div></b></div>
12 var s
= window
.getSelection();
13 var e
= document
.getElementById("test");
16 s
.modify("move", "forward", "character");
17 s
.modify("extend", "forward", "line");
19 document
.execCommand("Delete");