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

Side by Side Diff: LayoutTests/fast/events/platform-wheelevent-paging-xy-in-scrolling-page.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script> 4 <script>
5 var givenScrollTop = 2; // Only one page per event, so this should b e interpreted as 1 5 var givenScrollTop = 2; // Only one page per event, so this should b e interpreted as 1
6 var givenScrollLeft = 2; 6 var givenScrollLeft = 2;
7 var expectedScrollTop = 511; // Window is 800x600. 15 pixel scrollba rs. Scroll 87.5% of visible. 7 var expectedScrollTop = 511; // Window is 800x600. 15 pixel scrollba rs. Scroll 87.5% of visible.
8 var expectedScrollLeft = 686; 8 var expectedScrollLeft = 686;
9 var event; 9 var event;
10 var div; 10 var div;
11 11
12 window.jsTestIsAsync = true; 12 window.jsTestIsAsync = true;
13 if (window.testRunner) 13 if (window.testRunner)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 <div style="background-color:red;height:900px;width:1200px;position:re lative;left:0px;top:0px"></div> 51 <div style="background-color:red;height:900px;width:1200px;position:re lative;left:0px;top:0px"></div>
52 <div style="background-color:green;height:900px;width:1200px;position: relative;left:1200px;top:-900px"></div> 52 <div style="background-color:green;height:900px;width:1200px;position: relative;left:1200px;top:-900px"></div>
53 </div> 53 </div>
54 <div style="height:900px;width:2400px"> 54 <div style="height:900px;width:2400px">
55 <div style="background-color:blue;height:900px;width:1200px;position:r elative;left:0px;top:0px"></div> 55 <div style="background-color:blue;height:900px;width:1200px;position:r elative;left:0px;top:0px"></div>
56 <div style="background-color:yellow;height:900px;width:1200px;position :relative;left:1200px;top:-900px"></div> 56 <div style="background-color:yellow;height:900px;width:1200px;position :relative;left:1200px;top:-900px"></div>
57 </div> 57 </div>
58 <div id="console"></div> 58 <div id="console"></div>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698