3 testRunner.dumpEditingCallbacks();
5 <p>This tests for a bug in InsertLineBreakCommand. Only one line break should be inserted and the caret should end up at the end of the bordered div below.</p><div contenteditable="true" id="div" style="white-space:pre; border: 1px solid black;">Hello world.
10 var sel = window.getSelection();
11 var div = document.getElementById("div");
13 sel.modify("move", "forward", "line");
14 document.execCommand("InsertLineBreak");