1 <p>This tests InsertUnorderedList on a selection that ends at the start of a paragraph. Since we don't paint the gap before the paragraph for most selections like this, we don't perform InsertUnorderedList on the paragraph that the selection ends in.</p>
2 <div id="div" contenteditable="true">
3 This paragraph should be in a list.<br>
4 This paragraph should not be in a list.</br>
9 window.testRunner.dumpEditingCallbacks();
11 var div = document.getElementById("div");
12 var sel = window.getSelection();
14 sel.modify("extend", "forward", "line");
15 document.execCommand("InsertUnorderedList");