1 <html contenteditable="true">
4 testRunner.dumpEditingCallbacks();
9 var s = window.getSelection();
10 var e = document.getElementById("test");
13 document.execCommand("InsertText", false, "This tests to make sure that when the enclosing block is the body element, and when the html element is editable, inserting a paragraph separator doesn't split the body (inserting a paragraph separator usually splits/clones the enclosing block flow element).");
15 s.modify("move", "forward", "line");
16 s.modify("move", "forward", "line");
17 s.modify("move", "forward", "line");
18 document.execCommand("InsertParagraph");
21 <body id="test" onLoad="runTest();"></body>