Flaky Test: fast/events/resize-subframe-in-rendering-update.html
[WebKit-https.git] / LayoutTests / fast / events / scrollbar-double-click.html
1 <body style="margin:0">
2 <script>
3 if (window.testRunner) {
4     testRunner.dumpAsText();
5     testRunner.waitUntilDone();
6 }
7 </script>
8
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>
12 </div>
13
14 <div id="console"></div>
15
16 <script>
17 if (window.eventSender) {
18     eventSender.mouseMoveTo(390, 300);
19     eventSender.mouseDown();
20     eventSender.mouseUp();
21     eventSender.mouseDown();
22     eventSender.mouseUp();
23
24     setTimeout(finished, 1000);
25 }
26
27 function finished()
28 {
29     document.getElementById('console').innerHTML = "Scroll offset is " + document.getElementById('overflow').scrollTop;
30     window.testRunner.notifyDone();
31 }
32 </script>