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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../../resources/js-test.js"></script> 4 <script src="../../../../resources/js-test.js"></script>
5 <script src="resources/gesture-helpers.js"></script> 5 <script src="resources/gesture-helpers.js"></script>
6 <style type="text/css"> 6 <style type="text/css">
7 ::-webkit-scrollbar { 7 ::-webkit-scrollbar {
8 width: 0px; 8 width: 0px;
9 height: 0px; 9 height: 0px;
10 } 10 }
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 eventSender.gestureScrollUpdate(0, -40); 97 eventSender.gestureScrollUpdate(0, -40);
98 eventSender.gestureScrollEnd(0, 0); 98 eventSender.gestureScrollEnd(0, 0);
99 99
100 // Wait for layout. 100 // Wait for layout.
101 checkScrollOffset(); 101 checkScrollOffset();
102 } 102 }
103 103
104 function secondGestureScroll() 104 function secondGestureScroll()
105 { 105 {
106 debug("second gesture"); 106 debug("second gesture");
107 eventSender.gestureScrollBegin(800, 40); 107 eventSender.gestureScrollBegin(799, 40);
108 eventSender.gestureScrollUpdate(0, -30); 108 eventSender.gestureScrollUpdate(0, -30);
109 eventSender.gestureScrollUpdate(0, -30); 109 eventSender.gestureScrollUpdate(0, -30);
110 eventSender.gestureScrollEnd(0, 0); 110 eventSender.gestureScrollEnd(0, 0);
111 111
112 // Wait for layout. 112 // Wait for layout.
113 checkScrollOffset(); 113 checkScrollOffset();
114 } 114 }
115 115
116 if (window.testRunner) 116 if (window.testRunner)
117 testRunner.waitUntilDone(); 117 testRunner.waitUntilDone();
(...skipping 10 matching lines...) Expand all
128 } else { 128 } else {
129 debug("This test requires DumpRenderTree. Gesture-scroll the page to va lidate the implementation."); 129 debug("This test requires DumpRenderTree. Gesture-scroll the page to va lidate the implementation.");
130 } 130 }
131 } 131 }
132 </script> 132 </script>
133 133
134 134
135 135
136 </body> 136 </body>
137 </html> 137 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698