blob: 2e8f6ab55261bb839882e336d8e969b36c710c64 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpEditingCallbacks();
</script>
<p>This tests the NSResponder method indent:. You should see an indented 'foo' below.</p>
<div id="div" contenteditable="true">foo</div>
<script>
var div = document.getElementById("div");
var sel = window.getSelection();
sel.setPosition(div, 0);
document.execCommand("Indent");
</script>