12 if (!window
.testRunner
)
15 testRunner
.dumpDragImage();
16 var selectMe
= document
.getElementById('selectMe');
17 window
.getSelection().selectAllChildren(selectMe
);
18 var x
= selectMe
.offsetLeft
+ selectMe
.offsetWidth
/ 2;
19 var y
= selectMe
.offsetTop
+ selectMe
.offsetHeight
/ 2;
20 eventSender
.mouseMoveTo(x
, y
);
21 eventSender
.mouseDown();
22 eventSender
.leapForward(200);
23 eventSender
.mouseMoveTo(x
+ 50, y
+ 50);
24 eventSender
.mouseUp();
28 <body onload=
"runTest()">
29 <div id=
"selectMe">To run this test manually, select some text and drag it around. The text should not be drawn with halo outlines.
</div>