blob: 899d2c5654aeb04d27192c2cf2dcbe8b1c3493e2 [file] [log] [blame]
<p>This test for a bug in Insert{Un}OrderedList. Inside an empty editable region, a new paragraph is added, then a list is created. The caret should be <b>inside</b> the empty list item.</p>
<div id="div" contenteditable="true"></div>
<script>
var div = document.getElementById("div");
div.focus();
document.execCommand("InsertParagraph");
document.execCommand("InsertUnorderedList");
</script>