6 testRunner
.dumpAsText();
9 <p>Editing code creates temporary SPANs in some situations. Check we don't crash if we have style span { display: none }
11 <b id=b
>select me fully
</b><i id=i
>select me partially ----------
</i>
13 var selection
= window
.getSelection();
14 var b
= document
.getElementById('b');
15 var i
= document
.getElementById('i');
16 selection
.setBaseAndExtent(b
, 0, i
.firstChild
, 20);
17 document
.execCommand("Delete");