Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5119244.html
blobfdd8b7583427cde98ae1137452e3a6eea418da78
1 <p>This tests for a crash indent a selection that starts just before a ToDo.</div>
2 <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>
4 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 var sel = window.getSelection();
10 var div = document.getElementById("div");
11 sel.collapse(div, 0);
12 document.execCommand("Indent");
13 </script>
15 PASS