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

Side by Side Diff: LayoutTests/fast/events/touch/gesture/touch-gesture-noscroll-iframe.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a couple more tests Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
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 #touchtarget { 7 #touchtarget {
8 width: 200px; 8 width: 200px;
9 height: 200px; 9 height: 200px;
10 position: relative; 10 position: relative;
(...skipping 15 matching lines...) Expand all
26 26
27 var touchtarget; 27 var touchtarget;
28 var expectedGesturesTotal = 2; 28 var expectedGesturesTotal = 2;
29 var gesturesOccurred = 0; 29 var gesturesOccurred = 0;
30 var scrollAmountX = ['0', '0']; 30 var scrollAmountX = ['0', '0'];
31 var scrollAmountY = ['0', '0']; 31 var scrollAmountY = ['0', '0'];
32 var wheelEventsOccurred = 0; 32 var wheelEventsOccurred = 0;
33 var expectedWheelEventsOccurred = ['0', '0']; 33 var expectedWheelEventsOccurred = ['0', '0'];
34 var scrollEventsOccurred = 0; 34 var scrollEventsOccurred = 0;
35 var expectedScrollEventsOccurred = '0'; 35 var expectedScrollEventsOccurred = '0';
36 var scrolledElement = 'touchtarget.contentDocument.body' 36 var scrolledElement = 'touchtarget.contentDocument.scrollingElement'
37 37
38 function firstGestureScroll() 38 function firstGestureScroll()
39 { 39 {
40 debug("first gesture"); 40 debug("first gesture");
41 eventSender.gestureScrollBegin(12, 150); 41 eventSender.gestureScrollBegin(12, 150);
42 eventSender.gestureScrollUpdate(0, -140); 42 eventSender.gestureScrollUpdate(0, -140);
43 eventSender.gestureScrollEnd(0, 0); 43 eventSender.gestureScrollEnd(0, 0);
44 44
45 // Wait for layout. 45 // Wait for layout.
46 checkScrollOffset(); 46 checkScrollOffset();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 successfullyParsed = true; 91 successfullyParsed = true;
92 isSuccessfullyParsed(); 92 isSuccessfullyParsed();
93 if (window.testRunner) 93 if (window.testRunner)
94 testRunner.notifyDone(); 94 testRunner.notifyDone();
95 } 95 }
96 } 96 }
97 } 97 }
98 </script> 98 </script>
99 </body> 99 </body>
100 </html> 100 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698