Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / scrollbar-double-click.html
blob53d42c56b488f34bd1516040e25998bc23cc7646
1 <body style="margin:0">
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
7 </script>
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>
14 <div id="console"></div>
16 <script>
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);
27 function finished()
29 document.getElementById('console').innerHTML = "Scroll offset is " + document.getElementById('overflow').scrollTop;
30 window.testRunner.notifyDone();
32 </script>