Wheel events don't latch to inner scrollable elements
[WebKit-https.git] / Source / WebCore / ChangeLog
index 784bdfbe8779411e5b71a6ebb95fc32a0bdda58c..5cf6e886e4e85253dd9e104d0111483d3456ce9a 100644 (file)
@@ -1,3 +1,19 @@
+2014-02-05  Brent Fulgham  <bfulgham@apple.com>
+
+        Wheel events don't latch to inner scrollable elements 
+        https://bugs.webkit.org/show_bug.cgi?id=128225
+
+        Reviewed by Beth Dakin.
+
+        * page/EventHandler.cpp:
+        (WebCore::EventHandler::handleWheelEvent): Identify the case
+        where we have hit the end of a scroll, and treat that as a
+        valid 'handled' case. If the scroll event is just starting,
+        treat end-of-scroll as unhandled so the parent element can
+        handle things.
+        * page/WheelEventDeltaTracker.h:
+        (WebCore::WheelEventDeltaTracker::isFirstWheelEvent): Added.
+
 2014-02-06  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r163542.