3 testRunner
.dumpEditingCallbacks();
6 <div contenteditable=
"true">
7 OnlyThe
<span id=
"base" style=
"font-weight:bold;" contenteditable=
"false">Bold
</span>TextShould
<span id=
"extent">Be
</span>Selected
10 var s
= window
.getSelection();
11 var base
= document
.getElementById("base");
12 var extent
= document
.getElementById("extent");
13 s
.setBaseAndExtent(base
, 0, extent
, 0);