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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/wheel/wheel-fling-cancel.html

Issue 2261173005: wheel layout tests moved to fast/events/wheel folder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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> 5 <script>
6 description("Tests that a mouse wheel event will cancel an in progress fling gesture."); 6 description("Tests that a mouse wheel event will cancel an in progress fling gesture.");
7 7
8 var expectedWheelEventsOccurred = "0"; 8 var expectedWheelEventsOccurred = "0";
9 var actualWheelEventsOccurred = 0; 9 var actualWheelEventsOccurred = 0;
10 10
11 function notifyWhenFlingIsOver() { 11 function notifyWhenFlingIsOver() {
12 if (!window.testRunner) 12 if (!window.testRunner)
13 return; 13 return;
14 if (eventSender.isFlinging()) { 14 if (eventSender.isFlinging()) {
(...skipping 27 matching lines...) Expand all
42 notifyWhenFlingIsOver(); 42 notifyWhenFlingIsOver();
43 } 43 }
44 44
45 </script> 45 </script>
46 </head> 46 </head>
47 <body> 47 <body>
48 <span id="e"></span> 48 <span id="e"></span>
49 <span id="f"></span> 49 <span id="f"></span>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698