Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / scrollbars / scrollbar-miss-mousemove.html
blob9f034ed7d0bafdcc7b9a96408442fe2c978fba33
1 <html>
2 <body style="margin:0">
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
8 </script>
9 <div id="overflow" style="border:2px solid black;overflow:auto;height:400px;width:400px; position:absolute;">
10 <div style="background-color:green;height:1000px"></div>
11 <div style="background-color:red;height:1000px"></div>
12 </div>
13 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=27289">bug
14 27289</a>: This tests that mouse clicks/releases on scrollbars are handled
15 properly even is there was no mouse move onto the scrollbar; this is the
16 enabled control case. On success, the offset should be 0.<p/>
17 <div id="console"></div>
18 <script>
19 if (window.eventSender) {
20 document.getElementById('overflow').style.display = "none";
21 eventSender.mouseMoveTo(390, 10);
22 document.getElementById('overflow').style.display = "";
23 eventSender.mouseDown();
24 eventSender.mouseUp();
25 eventSender.mouseMoveTo(390, 350);
26 setTimeout(finished, 500);
29 function finished()
31 document.getElementById('console').innerHTML
32 = "Scroll offset is " + document.getElementById('overflow').scrollTop;
33 window.testRunner.notifyDone();
35 </script>
36 </body>
37 </html>