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