1 <p>This tests list creation in an empty line. The caret should end up in the empty list item.</p>
2 <div contenteditable="true" id="div">Paragraph One.<br><br>Paragraph Two.</div>
5 var div = document.getElementById("div");
6 var sel = window.getSelection();
9 sel.modify("move", "forward", "line");
10 document.execCommand("InsertOrderedList");