Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / mousemove-to-scrollbar-changes-cursor.html
blob1e0a0f7586595721d2b6c985cc017507b2563603
1 <html>
2 <head>
3 <style>
4 body {
5 cursor: hand;
7 </style>
8 <script>
9 function log(text)
11 var div = document.createElement("div");
12 div.textContent = text;
13 document.getElementById("console").appendChild(div);
16 function test()
18 if (window.testRunner)
19 testRunner.dumpAsText();
20 if (!window.eventSender)
21 return;
22 eventSender.dragMode = false;
23 eventSender.mouseMoveTo(50, 50);
24 var originalInfo = window.internals.getCurrentCursorInfo();
26 // The view is 800x600 in tests.
27 eventSender.mouseMoveTo(799, 500);
28 var scrollbarInfo = window.internals.getCurrentCursorInfo();
29 log("Hovered pointer: " + originalInfo);
30 log("Scrollbar pointer: " + scrollbarInfo);
32 </script>
33 </head>
34 <body onload="test()" style="height: 2000px">
35 This tests that hovering over a scrollbar resets the mouse cursor to the default pointer.<br>
36 <div id="console"></div>
37 </body>
38 </html>