Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(518)

Side by Side Diff: LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ditch fast/text/font-initial changes too Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <body style="min-height: 5000px"> 3 <body style="min-height: 5000px">
4 <span id="elt">&nbsp;</span> 4 <span id="elt">&nbsp;</span>
5 5
6 <script> 6 <script>
7 description('Checks that clicking on scrollbar works when tickmarks are added.') ; 7 description('Checks that clicking on scrollbar works when tickmarks are added.') ;
8 onload = function() 8 onload = function()
9 { 9 {
10 if (window.testRunner) 10 if (window.testRunner)
11 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
12 var range = document.createRange(); 12 var range = document.createRange();
13 var elt = document.getElementById('elt'); 13 var elt = document.getElementById('elt');
14 range.selectNodeContents(elt); 14 range.selectNodeContents(elt);
15 if (window.internals) { 15 if (window.internals) {
16 window.internals.settings.setOverlayScrollbarsEnabled(true); 16 window.internals.settings.setOverlayScrollbarsEnabled(true);
17 window.internals.addTextMatchMarker(range, true); 17 window.internals.addTextMatchMarker(range, true);
18 } 18 }
19 if (window.testRunner)
20 testRunner.display();
21 if (window.eventSender) { 19 if (window.eventSender) {
22 eventSender.mouseMoveTo(window.innerWidth - 1, window.innerHeight - 1); 20 eventSender.mouseMoveTo(window.innerWidth - 1, window.innerHeight - 1);
23 eventSender.mouseDown(); 21 eventSender.mouseDown();
24 eventSender.mouseUp(); 22 eventSender.mouseUp();
25 } 23 }
26 } 24 }
27 25
28 onscroll = function() 26 onscroll = function()
29 { 27 {
30 testPassed('did scroll'); 28 testPassed('did scroll');
31 finishJSTest(); 29 finishJSTest();
32 } 30 }
33 31
34 var jsTestIsAsync = true; 32 var jsTestIsAsync = true;
35 </script> 33 </script>
36 34
37 35
38 </body> 36 </body>
39 </html> 37 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/overflow/hidden-scrollbar-resize.html ('k') | LayoutTests/fast/table/empty-section-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698