1 <body style="height: 200%">
2 <div onmouseover="mouseOver(event)" style="margin: 300px 0; width: 100px; height: 100px; background-color: blue;"></div>
3 <div id="result">Test did not run</div>
7 function mouseOver(event)
14 document.getElementById("result").innerText = passed ? "PASS" : "FAIL";
15 testRunner.notifyDone();
18 if (window.testRunner) {
19 testRunner.dumpAsText();
20 testRunner.waitUntilDone();
22 // WebKit schedules a fake mouse move event as part of installing the WebView in
23 // a window. For the test to be valid, it must begin only after that event
27 eventSender.mouseMoveTo(50, 100);
28 document.body.scrollTop = 250;
29 setTimeout(finish, 200);