blob: e7dcbb1d86b4b0cf3383569f7d2dc0ab82fc9b81 [file] [log] [blame]
<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>
<div contenteditable="true"><ul><li>foo</li><li id="li">bar</li></ul></div>
<script>
var li = document.getElementById("li");
var sel = window.getSelection();
sel.setPosition(li, 0);
document.execCommand("InsertOrderedList");
</script>