blob: fbe09521186b7602356f3827eb7bd246dbcb5132 [file] [log] [blame]
<p>This tests for a bug where changing the list type of an indented list would create unwanted nesting. You should see a single ordered list item in an indented list.</p>
<div id="div" contenteditable="true"><br></div>
<script>
var div = document.getElementById("div");
div.focus();
document.execCommand("InsertText", false, "foo");
document.execCommand("InsertUnorderedList");
document.execCommand("Indent");
document.execCommand("InsertOrderedList");
</script>