1 <p>This tests inserting a line break at the end of a tab span. Below you should see 'foo' followed by an empty paragraph, with the caret in it.
</p>
2 <div id=
"div" contenteditable=
"true">foo
<span class=
"Apple-tab-span" style=
"white-space:pre"> </span></div>
5 div
= document
.getElementById("div");
6 sel
= window
.getSelection();
7 sel
.collapse(div
, div
.childNodes
.length
);
8 document
.execCommand("InsertLineBreak");