Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / 5546763.html
blobd393148d53d52c45c1ee4c5a21b636cbd188a598
1 <p>This tests for a crash when deleting a selection that starts before the first child of a block and ends after the last child (which must be a link) of another block. There shouldn't be any content in the editable region below.</p>
2 <div id="div" contenteditable="true">
3 <div>foo</div>
4 <div>bar <a href="http://www.apple.com/">baz</a></div>
5 </div>
7 <script>
8 if (window.testRunner) {
9 window.testRunner.dumpEditingCallbacks();
10 window.testRunner.dumpAsText();
12 div = document.getElementById("div");
13 div.focus();
14 document.execCommand("SelectAll");
15 document.execCommand("Delete");
16 </script>