3 testRunner
.dumpEditingCallbacks();
6 <p>This test deletes the contents of a sub-list. Then it deletes the empty list item. The list item below it should remain.
</p>
7 <div id=
"div" contentEditable=
"true"><ul><ul><li>foo
</li></ul><li><br></li></ul></div>
11 internals
.settings
.setEditingBehavior('mac');
12 var div
= document
.getElementById("div");
13 var sel
= window
.getSelection();
16 sel
.modify("extend", "forward", "word");
17 document
.execCommand("Delete");
18 document
.execCommand("Delete");