3 testRunner.dumpEditingCallbacks();
5 <p>This tests inserting a paragraph separator before a horizontal rule. You should see 'foo', empty paragraph, horizontal rule, 'bar', and the caret should be just before the horizontal rule.</p>
6 <div contenteditable="true" id="div">foo<hr>bar</div>
10 internals.settings.setEditingBehavior("mac");
11 var sel = window.getSelection();
12 var div = document.getElementById("div");
14 sel.modify("move", "forward", "word");
15 sel.modify("move", "forward", "character");
16 document.execCommand("InsertParagraph");