4 <div id="test" contenteditable="true">There be no line breaks in this sentence.</div>
5 <script src="../../resources/dump-as-markup.js"></script>
9 testRunner.dumpEditingCallbacks();
11 internals.settings.setEditingBehavior('mac');
13 Markup.description('This tests inserting a text wrapped in a div inside a text node.');
15 var sel = window.getSelection();
16 var e = document.getElementById("test").firstChild;
19 sel.modify("move", "forward", "word");
20 sel.modify("move", "forward", "character");
21 document.execCommand("InsertHTML", false, "<div>should</div>");