blob: ccafe1ec107d0ab53033350b76ed6fef530757fd [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.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>