Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 4916402.html
blobd8861002e2f05f671fe72daa7d2d79531d23c9a2
1 <p>This tests to see that creating an ordered list item from the last list item in an unordered list creates a new list that is not a sublist of the original one.</p>
2 <div contenteditable="true"><ul><li>foo</li><li id="li">bar</li></ul></div>
4 <script>
5 var li = document.getElementById("li");
6 var sel = window.getSelection();
8 sel.collapse(li, 0);
9 document.execCommand("InsertOrderedList");
10 </script>