1 <p>This tests creating a selection based inside a nested editable region that extends out to editable content that is inside the same highest editable root. 'One' through 'Three' should be selected.
</p>
2 <div contenteditable=
"true">
3 <div id=
"extent">One
</div>
4 <div contenteditable=
"false"><span>Two
</span> <span id=
"base" contenteditable=
"true">Three
</span></div>
9 var base
= document
.getElementById("base");
10 var extent
= document
.getElementById("extent");
12 var sel
= window
.getSelection();
13 sel
.setBaseAndExtent(base
, 1, extent
, 0);