2 <script src=
"../../resources/js-test.js"></script>
3 <body style=
"min-height: 5000px">
4 <span id=
"elt"> </span>
7 description('Checks that clicking on scrollbar works when tickmarks are added.');
10 if (window
.testRunner
)
11 testRunner
.dumpAsText();
12 var range
= document
.createRange();
13 var elt
= document
.getElementById('elt');
14 range
.selectNodeContents(elt
);
15 if (window
.internals
) {
16 window
.internals
.settings
.setOverlayScrollbarsEnabled(true);
17 window
.internals
.addTextMatchMarker(range
, true);
19 if (window
.eventSender
) {
20 eventSender
.mouseMoveTo(window
.innerWidth
- 1, window
.innerHeight
- 1);
21 eventSender
.mouseDown();
22 eventSender
.mouseUp();
28 testPassed('did scroll');
32 var jsTestIsAsync
= true;