Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / merge-end-3.html
bloba80237968920d83baaa4a9b2e0d4ef7e5e3fe533
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="test" contenteditable="true">one three</div>
6 <script src="../../resources/dump-as-markup.js"></script>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpEditingCallbacks();
10 if (window.internals)
11 internals.settings.setEditingBehavior("mac");
13 Markup.description("The last paragraph of the incoming fragment should be in the same paragraph as 'three'.");
15 var s = window.getSelection();
16 var e = document.getElementById("test");
18 s.collapse(e, 0);
19 s.modify("move", "forward", "word");
20 s.modify("move", "forward", "character");
22 document.execCommand("InsertHTML", false , "<br class='Apple-interchange-newline'><div>two</div>");
24 Markup.dump('test');
26 </script>
27 </body>
28 </html>