blob: c37e55a91f22f5a95d7700cbb39cd912874050c1 [file] [log] [blame]
<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>
<div id="edit" contenteditable="true">
<blockquote class="webkit-indent-blockquote">
<ol>
<li>orange</li>
<li>lemon<span><div><blockquote class="webkit-indent-blockquote"><ol><li>orange</li><li>lemon</li></ol></blockquote></div></span></li>
</ol>
</blockquote>
</div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
div = document.getElementById("edit");
div.focus();
document.execCommand("SelectAll");
document.execCommand("InsertOrderedList");
</script>