blob: 19ac3c66451f58955ad231bfeb3a43809d6e14a0 [file] [log] [blame]
<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.layoutTestController)
layoutTestController.dumpAsText();
var sel = window.getSelection();
var div = document.getElementById("div");
sel.setPosition(div, 0);
document.execCommand("Indent");
</script>
PASS