<p>This tests for a crash indent a selection that starts just before a ToDo.</div> 
<div id="div" contenteditable="true"><table contenteditable="false"><tr><td>&#x21D2;</td><td contenteditable="true" style="background-color: #f81;">ToDo content</td></tr></table></div>

<script>

if (window.testRunner)
    testRunner.dumpAsText();

var sel = window.getSelection();
var div = document.getElementById("div");
sel.setPosition(div, 0);
document.execCommand("Indent");
</script>

PASS
