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

Side by Side Diff: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page.html

Issue 12817006: Merge 144519 "EventHandler::handleGestureScrollUpdate() should i..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="../../../js/resources/js-test-style.css"> 4 <link rel="stylesheet" href="../../../js/resources/js-test-style.css">
5 <script src="../../../js/resources/js-test-pre.js"></script> 5 <script src="../../../js/resources/js-test-pre.js"></script>
6 <script src="resources/gesture-helpers.js"></script> 6 <script src="resources/gesture-helpers.js"></script>
7 <style type="text/css"> 7 <style type="text/css">
8 ::-webkit-scrollbar { 8 ::-webkit-scrollbar {
9 width: 0px; 9 width: 0px;
10 height: 0px; 10 height: 0px;
11 } 11 }
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 eventSender.gestureScrollUpdate(0, -40); 98 eventSender.gestureScrollUpdate(0, -40);
99 eventSender.gestureScrollEnd(0, 0); 99 eventSender.gestureScrollEnd(0, 0);
100 100
101 // Wait for layout. 101 // Wait for layout.
102 checkScrollOffset(); 102 checkScrollOffset();
103 } 103 }
104 104
105 function secondGestureScroll() 105 function secondGestureScroll()
106 { 106 {
107 debug("second gesture"); 107 debug("second gesture");
108 eventSender.gestureScrollBegin(12, 40); 108 eventSender.gestureScrollBegin(800, 40);
109 eventSender.gestureScrollUpdate(0, -30); 109 eventSender.gestureScrollUpdate(0, -30);
110 eventSender.gestureScrollUpdate(0, -30); 110 eventSender.gestureScrollUpdate(0, -30);
111 eventSender.gestureScrollEnd(0, 0); 111 eventSender.gestureScrollEnd(0, 0);
112 112
113 // Wait for layout. 113 // Wait for layout.
114 checkScrollOffset(); 114 checkScrollOffset();
115 } 115 }
116 116
117 if (window.testRunner) 117 if (window.testRunner)
118 testRunner.waitUntilDone(); 118 testRunner.waitUntilDone();
(...skipping 10 matching lines...) Expand all
129 } else { 129 } else {
130 debug("This test requires DumpRenderTree. Gesture-scroll the page to va lidate the implementation."); 130 debug("This test requires DumpRenderTree. Gesture-scroll the page to va lidate the implementation.");
131 } 131 }
132 } 132 }
133 </script> 133 </script>
134 134
135 135
136 136
137 </body> 137 </body>
138 </html> 138 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698