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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/platform-wheelevent-paging-xy-in-scrolling-div.html

Issue 1752043002: Merged FrameView and LayoutBox scrolling in EventHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@invertScrollCustomizationPath
Patch Set: Fixes for layout tests breaks Created 4 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script> 4 <script>
5 window.jsTestIsAsync = true; 5 window.jsTestIsAsync = true;
6 var givenScrollTop = 1; 6 var givenScrollTop = 1;
7 var givenScrollLeft = 2; 7 var givenScrollLeft = 2; // When paging, this is ignored. Every even t is one page.
8 var expectedScrollTop = 161; 8 var expectedScrollTop = 161;
9 var expectedScrollLeft = 322; 9 var expectedScrollLeft = 161;
10 var event; 10 var event;
11 var div; 11 var div;
12 12
13 function runTest() 13 function runTest()
14 { 14 {
15 var overflowElement = document.getElementById("overflow"); 15 var overflowElement = document.getElementById("overflow");
16 if (overflowElement) 16 if (overflowElement)
17 overflowElement.addEventListener("mousewheel", mousewheelHan dler, false); 17 overflowElement.addEventListener("mousewheel", mousewheelHan dler, false);
18 18
19 if (window.eventSender) { 19 if (window.eventSender) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 <div style="background-color:green;height:300px;width:300px;positi on:relative;left:300px;top:-300px"></div> 51 <div style="background-color:green;height:300px;width:300px;positi on:relative;left:300px;top:-300px"></div>
52 </div> 52 </div>
53 <div style="height:300px;width:600px"> 53 <div style="height:300px;width:600px">
54 <div style="background-color:blue;height:300px;width:300px;positio n:relative;left:0px;top:0px"></div> 54 <div style="background-color:blue;height:300px;width:300px;positio n:relative;left:0px;top:0px"></div>
55 <div style="background-color:yellow;height:300px;width:300px;posit ion:relative;left:300px;top:-300px"></div> 55 <div style="background-color:yellow;height:300px;width:300px;posit ion:relative;left:300px;top:-300px"></div>
56 </div> 56 </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