Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / 5847330-1.html
blob2b1101be2487887244c2ca5a41e0f3549e07a5d6
1 <div id="description">This tests for a crash on delete that occurred because we tried to merge content from inside a table cell into content outside the table that held that cell.</div>
2 <div id="outerdiv" contenteditable="true"><table border="1" contenteditable="false"><tr><td><div contenteditable="true" id="innerdiv"></div><br></td></tr></table></div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
8 outerdiv = document.getElementById("outerdiv");
9 innerdiv = document.getElementById("innerdiv");
11 window.getSelection().setBaseAndExtent(outerdiv, 0, innerdiv, 0);
12 document.execCommand("Delete");
13 </script>