5 testRunner
.dumpEditingCallbacks();
10 var d
= document
.getElementById('d');
11 window
.getSelection().setBaseAndExtent(d
, 0, d
, 1);
12 window
.getSelection().empty();
16 <body onload=
"runTest()">
17 <div id=
"d">This tests that window.getSelection().clear() clears the selection correctly. If this test is successful, this text should not be selected.
</div>