blob: 8b500c6eb4391782ccb15a4a766cf1925d9584c7 [file] [log] [blame]
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
</script>
<div id="description">This test uses the execCommand to Outdent the text below.</div>
<br>
<div contenteditable="true">
<ul>
<li>Foo</li>
<li id="item1">Bar</li>
<li>Baz</li>
</ul>
</div>
<script>
var s = window.getSelection();
var p1 = document.getElementById("item1");
s.setPosition(p1, 0);
document.execCommand("Indent", false, "");
</script>