Title: [166536] trunk/LayoutTests
Revision
166536
Author
[email protected]
Date
2014-03-31 15:17:55 -0700 (Mon, 31 Mar 2014)

Log Message

Unreviewed test fix after r166530.

After switching to high-resolution continuous scroll output, forgot to update one test case.

* fast/events/platform-wheelevent-in-scrolling-div-expected.txt:
* fast/events/platform-wheelevent-in-scrolling-div.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (166535 => 166536)


--- trunk/LayoutTests/ChangeLog	2014-03-31 22:16:37 UTC (rev 166535)
+++ trunk/LayoutTests/ChangeLog	2014-03-31 22:17:55 UTC (rev 166536)
@@ -1,5 +1,14 @@
 2014-03-31  Brent Fulgham  <[email protected]>
 
+        Unreviewed test fix after r166530.
+
+        After switching to high-resolution continuous scroll output, forgot to update one test case.
+
+        * fast/events/platform-wheelevent-in-scrolling-div-expected.txt:
+        * fast/events/platform-wheelevent-in-scrolling-div.html:
+
+2014-03-31  Brent Fulgham  <[email protected]>
+
         Reduced Latched Scroll Test Flakiness
         https://bugs.webkit.org/show_bug.cgi?id=130983
 

Modified: trunk/LayoutTests/fast/events/platform-wheelevent-in-scrolling-div-expected.txt (166535 => 166536)


--- trunk/LayoutTests/fast/events/platform-wheelevent-in-scrolling-div-expected.txt	2014-03-31 22:16:37 UTC (rev 166535)
+++ trunk/LayoutTests/fast/events/platform-wheelevent-in-scrolling-div-expected.txt	2014-03-31 22:17:55 UTC (rev 166536)
@@ -1,6 +1,6 @@
-PASS event.wheelDeltaY is window.expectedScrollTop*-120
-PASS event.wheelDeltaX is window.expectedScrollLeft*-120
-PASS event.wheelDelta is window.expectedScrollTop*-120
+PASS event.wheelDeltaY is window.expectedScrollTop*-30
+PASS event.wheelDeltaX is window.expectedScrollLeft*-30
+PASS event.wheelDelta is window.expectedScrollTop*-30
 PASS div.scrollTop is window.expectedScrollTop*window.pixelsPerWheelTick
 PASS div.scrollLeft is window.expectedScrollLeft*window.pixelsPerWheelTick
 

Modified: trunk/LayoutTests/fast/events/platform-wheelevent-in-scrolling-div.html (166535 => 166536)


--- trunk/LayoutTests/fast/events/platform-wheelevent-in-scrolling-div.html	2014-03-31 22:16:37 UTC (rev 166535)
+++ trunk/LayoutTests/fast/events/platform-wheelevent-in-scrolling-div.html	2014-03-31 22:17:55 UTC (rev 166536)
@@ -4,7 +4,7 @@
         <script>
             var expectedScrollTop = 5;
             var expectedScrollLeft = 3;
-            var pixelsPerWheelTick = 40;
+            var pixelsPerWheelTick = 10;
             var event;
             var div;
 
@@ -38,13 +38,13 @@
             function mousewheelHandler(e)
             {
                 event = e;
-                shouldBe("event.wheelDeltaY", "window.expectedScrollTop*-120");
-                shouldBe("event.wheelDeltaX", "window.expectedScrollLeft*-120");
+                shouldBe("event.wheelDeltaY", "window.expectedScrollTop*-30");
+                shouldBe("event.wheelDeltaX", "window.expectedScrollLeft*-30");
 
                 if (e.wheelDeltaY)
-                    shouldBe("event.wheelDelta", "window.expectedScrollTop*-120");
+                    shouldBe("event.wheelDelta", "window.expectedScrollTop*-30");
                 else
-                    shouldBe("event.wheelDelta", "window.expectedScrollLeft*-120");
+                    shouldBe("event.wheelDelta", "window.expectedScrollLeft*-30");
             }
         </script>
     </head>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to