1 <p>This tests Selection::removeAllRanges().
</p>
2 <div id=
"div">This should not be selected.
</div>
5 if (window
.testRunner
) {
6 window
.testRunner
.dumpEditingCallbacks();
7 window
.testRunner
.dumpAsText();
9 var sel
= window
.getSelection();
10 var div
= document
.getElementById("div");
12 document
.execCommand("SelectAll");
13 sel
.removeAllRanges();