4 <div id="test" contenteditable="true"><div style="border: 1px solid red;">This x</div><div style="border: 1px solid blue;">x it.</div></div>
6 <script src="../../resources/dump-as-markup.js"></script>
9 testRunner.dumpEditingCallbacks();
11 internals.settings.setEditingBehavior("mac");
13 Markup.description('Pasting a paragraph or less into a selection that spans multiple blocks should insert content into the block containing the start of the selection.');
15 var s = window.getSelection();
16 var e = document.getElementById("test");
20 s.modify("move", "forward", "word");
21 s.modify("move", "forward", "character");
22 s.modify("extend", "forward", "word");
23 s.modify("extend", "forward", "word");
25 document.execCommand("InsertHTML", false, "<div><div>text should have a red border around</div></div>");