3 testRunner.dumpEditingCallbacks();
5 <div id="test" contenteditable="true"></div>
8 window.getSelection().collapse(document.getElementById("test"), 0);
9 document.execCommand("InsertText", false, "The caret should be at the end of this sentence.");
10 document.execCommand("Undo");
11 document.execCommand("Redo");