11 var div
= document
.createElement("div");
12 div
.textContent
= text
;
13 document
.getElementById("console").appendChild(div
);
18 if (window
.testRunner
)
19 testRunner
.dumpAsText();
20 if (!window
.eventSender
)
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
);
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>