Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / drag-leak-document.html
blobda42309b353ee3f1b29d4203b337061548ead438
1 <!DOCTYPE html>
2 <html>
3 <body onload="runTest()">
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 function runTest() {
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();
17 </script>
18 <div id="draggedElement" draggable="true">Drag</div>
19 <p>PASS if no leak is detected by the leak detector.</p>
20 </body>
21 </html>