blob: 0e336444f9941be62399c204335ae517c66e764d [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpEditingCallbacks();
</script>
<body>
<p>This tests Indent in an empty editable element.</p>
<div id="div" contentEditable="true"></div>
<script>
var div = document.getElementById("div");
var sel = window.getSelection();
sel.setPosition(div, 0);
document.execCommand("Indent");
</script>
</body>