Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / 5521237.html
blob880f70a0f0d915d66f20b7d77cbba1da3369e8d0
1 <p>This tests for a bug when pasting a word copied from TextEdit after a regular, breaking space.</p>
2 <div contenteditable="true" id="div">Everything n this editable region should be in one paragraph.</div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
8 div = document.getElementById("div");
9 text = div.firstChild;
10 sel = window.getSelection();
12 sel.collapse(text, 11);
13 document.execCommand("InsertHTML", false, "<div>i</div>")
14 </script>