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>
4 <div id="result">Test did not run</div>
8 function mouseOver(event)
15 document.getElementById("result").innerText = passed ? "PASS" : "FAIL";
16 testRunner.notifyDone();
19 if (window.testRunner) {
20 testRunner.dumpAsText();
21 testRunner.waitUntilDone();
23 // WebKit schedules a fake mouse move event as part of installing the WebView in
24 // a window. For the test to be valid, it must begin only after that event
28 eventSender.mouseMoveTo(50, 100);
29 document.getElementById("target").scrollTop = 250;
30 setTimeout(finish, 200);