LayoutTests:
[WebKit-https.git] / LayoutTests / editing / execCommand / create-list-with-hr.html
1 <script>
2 if (window.layoutTestController)
3      layoutTestController.dumpEditingCallbacks();
4 </script>
5 <p>This test pushes a horizontal rule into an unordered list with InsertUnorderedList.</p>
6 <div contenteditable="true" id="div"><hr></div>
7
8 <script>
9 var div = document.getElementById("div");
10 var sel = window.getSelection();
11
12 sel.setPosition(div, 0);
13 document.execCommand("InsertUnorderedList");
14 </script>