3 testRunner
.dumpEditingCallbacks();
5 <p>This tests text insertion before/after an input element.
</p>
6 <div id=
"div" contenteditable=
"true"><input type=
"text"></div>
9 var div
= document
.getElementById("div");
10 var sel
= window
.getSelection();
13 document
.execCommand("InsertText", false, "Hello");
14 sel
.collapse(div
, div
.childNodes
.length
);
16 document
.execCommand("InsertText", false, "World");