Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5763082.html
blobc37e55a91f22f5a95d7700cbb39cd912874050c1
1 <div id="description">This tests for a hang when outdenting an indented list whose last item contains another list. It should not hang.<b>The selection is incorrect here.</b></div>
2 <div id="edit" contenteditable="true">
3 <blockquote class="webkit-indent-blockquote">
4 <ol>
5 <li>orange</li>
6 <li>lemon<span><div><blockquote class="webkit-indent-blockquote"><ol><li>orange</li><li>lemon</li></ol></blockquote></div></span></li>
7 </ol>
8 </blockquote>
9 </div>
11 <script>
12 if (window.testRunner)
13 window.testRunner.dumpAsText();
14 div = document.getElementById("edit");
15 div.focus();
16 document.execCommand("SelectAll");
17 document.execCommand("InsertOrderedList");
18 </script>