blob: 6763e075b49915fae422533d62cd61d9aa30833b [file] [log] [blame]
<p>This tests for a crash when outdenting an indented paragraph. You should see 'foo' in a single level list item.</p>
<div contenteditable="true"><ul><ul><li id="li">foo<br></li></ul></ul></div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
var li = document.getElementById("li");
var sel = window.getSelection();
sel.setPosition(li, li.childNodes.length);
document.execCommand("Outdent");
</script>