Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / overflow-scroll-fake-mouse-move.html
blob859be5d3df0a2f405eb113c5815a9e0c4f8fa15e
1 <div id="target" style="overflow: auto; height: 200px; width: 200px;">
2 <div onmouseover="mouseOver(event)" style="margin: 300px 0; width: 100px; height: 100px; background-color: blue;"></div>
3 </div>
4 <div id="result">Test needs DumpRenderTree</div>
5 <script>
6 function mouseOver(event)
8 document.getElementById("result").innerText = "PASS";
9 testRunner.notifyDone();
12 if (window.testRunner) {
13 testRunner.dumpAsText();
14 testRunner.waitUntilDone();
16 onload = function()
18 eventSender.mouseMoveTo(50, 100);
19 document.getElementById("target").scrollTop = 250;
22 </script>