blob: a5add8203d78b276cc9586204fe07a4f78e934af [file] [log] [blame]
<p>This tests for a hang when outdenting a list item within a sublist twice.</p>
<div contenteditable="true">
<ol>
<li>one</li>
<li id="insert">two<ol><li id="outdent">three</li><li>four</li></ol></li>
</ol>
</div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
outdent = document.getElementById("outdent");
window.getSelection().setPosition(outdent, 0);
document.execCommand("Outdent");
document.execCommand("Outdent");
</script>