Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / displaced-placeholder.html
blob0e15a561ee015c74f6f99ce6670bf1a931054eeb
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This is a test to make sure that a placeholder is removed when it is displaced by pasted content.</p>
6 <div id="test" contenteditable="true"><br class='webkit-block-placeholder'></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>