Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 4747450.html
blob899d2c5654aeb04d27192c2cf2dcbe8b1c3493e2
1 <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>
2 <div id="div" contenteditable="true"></div>
4 <script>
5 var div = document.getElementById("div");
6 div.focus();
8 document.execCommand("InsertParagraph");
9 document.execCommand("InsertUnorderedList");
10 </script>