blob: d0f31e9f7da1c97eb1dfc2ad8d1a515ef7f49363 [file] [log] [blame]
<p>This tests for a bug when outdenting an indented list item. You should see 'foo' and 'bar' each in their own list item below.</p>
<div id="div" contenteditable="true"><ul><li>foo</li><ul><li id="li">bar<br></li></ul></ul></div>
<script>
var li = document.getElementById("li");
var sel = window.getSelection();
sel.setPosition(li, 0);
document.execCommand("Outdent");
</script>