OLD | NEW |
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 Loading... |
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 Loading... |
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> |
OLD | NEW |