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

Side by Side Diff: LayoutTests/fast/dom/Window/window-scroll-arguments.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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div style="height: 1000px; width: 1000px; border: 1px solid black;">This box sh ould force the window to have a scrollable area to test.</div> 7 <div style="height: 1000px; width: 1000px; border: 1px solid black;">This box sh ould force the window to have a scrollable area to test.</div>
8 <script language="JavaScript" type="text/javascript"> 8 <script language="JavaScript" type="text/javascript">
9 var resetX; 9 var resetX;
10 var resetY; 10 var resetY;
11 11
12 var x = 25; 12 var x = 25;
13 var y = 50; 13 var y = 50;
14 14
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 reset(); 91 reset();
92 92
93 debug("Testing - scrollBy with more than 2 arguments"); 93 debug("Testing - scrollBy with more than 2 arguments");
94 window.scrollBy(x, y, 200, "text"); 94 window.scrollBy(x, y, 200, "text");
95 shouldBe('window.scrollX', 'resetX + x'); 95 shouldBe('window.scrollX', 'resetX + x');
96 shouldBe('window.scrollY', 'resetY + y'); 96 shouldBe('window.scrollY', 'resetY + y');
97 reset(); 97 reset();
98 </script> 98 </script>
99 </body> 99 </body>
100 </html> 100 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698