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

Side by Side Diff: LayoutTests/fast/dom/zoom-scroll-page-test.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 body { position: relative; height: 2000px; } 5 body { position: relative; height: 2000px; }
6 </style> 6 </style>
7 <script src="../js/resources/js-test-pre.js"></script> 7 <script src="../../resources/js-test.js"></script>
8 <script> 8 <script>
9 description('This tests that window.scrollBy respects the page\'s zoom a nd scale factor when scrolling.'); 9 description('This tests that window.scrollBy respects the page\'s zoom a nd scale factor when scrolling.');
10 10
11 function zoomBy(zoomFactor) 11 function zoomBy(zoomFactor)
12 { 12 {
13 while (zoomFactor > 0) { 13 while (zoomFactor > 0) {
14 window.eventSender.zoomPageIn(); 14 window.eventSender.zoomPageIn();
15 zoomFactor--; 15 zoomFactor--;
16 } 16 }
17 while (zoomFactor < 0) { 17 while (zoomFactor < 0) {
(...skipping 28 matching lines...) Expand all
46 finishJSTest(); 46 finishJSTest();
47 } 47 }
48 </script> 48 </script>
49 </head> 49 </head>
50 50
51 <body onload="runTests()"> 51 <body onload="runTests()">
52 <div id="target"></div> 52 <div id="target"></div>
53 </body> 53 </body>
54 </html> 54 </html>
55 55
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/window-scroll-scaling.html ('k') | LayoutTests/fast/encoding/api/ascii-supersets.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698