Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / scrolling / scrollbar-tickmarks-hittest.html
blob0974a65948cded7befc8e016693518cb6812afdf
1 <html>
2 <script src="../../resources/js-test.js"></script>
3 <body style="min-height: 5000px">
4 <span id="elt">&nbsp;</span>
6 <script>
7 description('Checks that clicking on scrollbar works when tickmarks are added.');
8 onload = function()
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();
26 onscroll = function()
28 testPassed('did scroll');
29 finishJSTest();
32 var jsTestIsAsync = true;
33 </script>
36 </body>
37 </html>