Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / resources / drag-outside-window-frame.html
blob4b6b9775f63fa8a6ab75bfbd397e189eba123701
1 <body onload="test()">
2 <script type="text/javascript">
3 document.addEventListener("mousemove", mousemoved);
5 var result = "FAIL";
7 function mousemoved(event)
9 if (event.clientX < -1)
10 result = "PASS";
13 function test()
15 if (!window.testRunner)
16 return;
17 testRunner.dumpAsText();
18 eventSender.mouseMoveTo(150, 100);
19 eventSender.mouseDown();
20 eventSender.mouseMoveTo(50, 100);
21 eventSender.mouseUp();
22 alert("Test result: " + result);
24 </script>
25 <p>
26 This is a test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=5923">http://bugzilla.opendarwin.org/show_bug.cgi?id=5923</a>
27 REGRESSION: scrolling on Google maps continues after the mouse is released outside the window</i>.
28 </p>
29 <p>
30 (Cannot run interactively)
31 </p>
32 </body>