3 testRunner
.dumpEditingCallbacks();
5 <p>This tests deletion when the caret is in an empty list item at the beginning of the document. It also makes sure that the style inside the empty list item is retained. You should see '
<b>foo
</b>' followed by a list item containing 'bar'.
</p>
6 <div id=
"div" contenteditable=
"true"><ul><li id=
"start" style=
"font-weight:bold;"></li><li>bar
</li></ul></div>
9 var s
= window
.getSelection();
10 var e
= document
.getElementById("start");
13 document
.execCommand("Delete");
14 document
.execCommand("InsertText", false, "foo");