1 <p>This tests character insertion on a line with an unrendered text node. You should see 'Hello' and then 'World' below.
</p>
2 <div id=
"div" contenteditable=
"true"><table border=
"1"><tr><td>Hello
</td></tr></table><br></div>
6 window
.testRunner
.dumpAsText();
8 var div
= document
.getElementById("div");
9 children
= div
.childNodes
;
11 text
= document
.createTextNode('\n');
12 div
.insertBefore(text
, br
);
13 sel
= window
.getSelection();
15 document
.execCommand("InsertText", false, "World");