Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / displaced-generic-placeholder.html
blobf977a9ab9e1632609299848bd9caa6a7b752a21a
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This is a test to make sure that a placeholder, even one that doesn't have our special class on it, is removed when it is displaced by pasted content.</p>
6 <div id="test" contenteditable="true"><br></div>
8 <script>
9 var s = window.getSelection();
10 var e = document.getElementById("test");
12 s.collapse(e, 0);
13 document.execCommand("InsertHTML", false, "First paragraph.<div>Second paragraph.</div>");
14 </script>