Changeset 180018 in webkit
- Timestamp:
- Feb 12, 2015 3:09:05 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r180005 r180018 1 2015-02-12 Beth Dakin <bdakin@apple.com> 2 3 REGRESSION: Should not send wheel events with a delta of 0 4 https://bugs.webkit.org/show_bug.cgi?id=141537 5 -and corresponding- 6 rdar://problem/18903118 7 8 Reviewed by Simon Fraser. 9 10 * platform/mac-wk2/tiled-drawing/scrolling/wheel-events-with-no-delta-expected.txt: Added. 11 * platform/mac-wk2/tiled-drawing/scrolling/wheel-events-with-no-delta.html: Added. 12 1 13 2015-02-12 Joseph Pecoraro <pecoraro@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r180013 r180018 1 2015-02-12 Beth Dakin <bdakin@apple.com> 2 3 REGRESSION: Should not send wheel events with a delta of 0 4 https://bugs.webkit.org/show_bug.cgi?id=141537 5 -and corresponding- 6 rdar://problem/18903118 7 8 Reviewed by Simon Fraser. 9 10 This code should not have been removed entirely to accommodate rubber-banding, it 11 just needs to return false instead of true in order to allow the MayBegin and 12 Ended phases to be handled by the ElasticityController. 13 * dom/Element.cpp: 14 (WebCore::Element::dispatchWheelEvent): 15 1 16 2015-02-12 Dean Jackson <dino@apple.com> 2 17 -
trunk/Source/WebCore/dom/Element.cpp
r179791 r180018 280 280 bool Element::dispatchWheelEvent(const PlatformWheelEvent& event) 281 281 { 282 if (!event.deltaX() && !event.deltaY()) 283 return false; 284 282 285 RefPtr<WheelEvent> wheelEvent = WheelEvent::create(event, document().defaultView()); 283 286 return EventDispatcher::dispatchEvent(this, wheelEvent) && !wheelEvent->defaultHandled();
Note: See TracChangeset
for help on using the changeset viewer.