Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / 4916402.html
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>
3
4 <script>
5 var li = document.getElementById("li");
6 var sel = window.getSelection();
7
8 sel.collapse(li, 0);
9 document.execCommand("InsertOrderedList");
10 </script>