2 <body contenteditable=
"true">
3 <p>This tests for setting the selection at a position inside the document when the document node is non-editable and the document's body element *is* editable. The expected behavior is to create a selection at [body,
0]. There should be a caret at the start of this paragraph.
</p>
7 var sel
= window
.getSelection();
8 sel
.collapse(document
, 0);