1 <body style="margin:0">
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
9 <div id="overflow" style="border:2px solid black;overflow:auto;height:400px;width:400px; position:absolute;">
10 <div style="background-color:red;height:720px"></div>
11 <div style="background-color:green;height:1600px"></div>
14 <div id="console"></div>
17 if (window.eventSender) {
18 eventSender.mouseMoveTo(390, 300);
19 eventSender.mouseDown();
20 eventSender.mouseUp();
21 eventSender.mouseDown();
22 eventSender.mouseUp();
24 setTimeout(finished, 1000);
29 document.getElementById('console').innerHTML = "Scroll offset is " + document.getElementById('overflow').scrollTop;
30 window.testRunner.notifyDone();