3 testRunner
.dumpEditingCallbacks();
5 <p>This tests InsertParagraphSeparator inside table cells. The first cell should contain 'Cell' and a newline, and the second cell should contain 'Two'.
</p>
7 <div contenteditable=
"true"><table border=
"1"><tr><td>Cell
<span id=
"start">One
</span></td><td><span id=
"end">Cell
</span> Two
</td></tr></table></div>
10 var start
= document
.getElementById("start").firstChild
;
11 var end
= document
.getElementById("end").firstChild
;
12 var s
= window
.getSelection();
14 s
.setBaseAndExtent(start
, 0, end
, end
.length
);
15 document
.execCommand("InsertParagraph");