| <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> |