3 <body onload=
"runTest()">
6 testRunner
.dumpAsText();
8 var draggedElement
= document
.getElementById('draggedElement');
9 var x
= draggedElement
.offsetLeft
+ draggedElement
.offsetWidth
/ 2;
10 var y
= draggedElement
.offsetTop
+ draggedElement
.offsetHeight
/ 2;
12 eventSender
.mouseMoveTo(x
, y
);
13 eventSender
.mouseDown();
14 eventSender
.mouseMoveTo(x
+ 100, y
+ 100);
15 eventSender
.mouseUp();
18 <div id=
"draggedElement" draggable=
"true">Drag
</div>
19 <p>PASS if no leak is detected by the leak detector.
</p>