Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / 5761530-2.html
blob086a81f16e4cd287f08533915a5581b0b634493e
1 <div id="description">This tests for a crash when inserting a text node at the start of a block where it will be become unrendered. The test should not crash.</div>
2 <div id="edit" contenteditable="true"><span class="Apple-tab-span" style="white-space:pre;"> </span>xxx</div>
3 <script>
4 if (window.testRunner)
5 window.testRunner.dumpAsText();
6 edit = document.getElementById("edit");
7 window.getSelection().collapse(edit, 0);
8 document.execCommand("InsertHTML", false, " ");
9 if (window.testRunner)
10 document.body.innerText = document.getElementById("description").innerText;
11 </script>