[Webkit-unassigned] [Bug 135195] Refactor EventHandler to call ScrollAnimator::handleWheelEvent for overflow scrolling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 25 10:11:57 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=135195





--- Comment #15 from Wenson Hsieh <wenson_hsieh at apple.com>  2014-07-25 10:12:09 PST ---
(From update of attachment 235470)
View in context: https://bugs.webkit.org/attachment.cgi?id=235470&action=review

This attempt seems to have broken scrolling in cases where WheelEvent is created without PlatformWheelEvent, presumably via JavaScript. I've (hopefully) fixed this in a new version by using the old code-path that directly calls RenderLayer::scroll if the WheelEvent is artificially generated, i.e. it has no corresponding PlatformWheelEvent.

>> Source/WebCore/ChangeLog:11
>> +        (WebCore::platformWheelEventFromWheelEvent): Stub that makes a PlatformWheelEvent from a WheelEvent. Will soon be replaced by a simple WheelEvent::wheelEvent().
> 
> Looks like this is from the old patch.

Good catch -- updated the ChangeLogs in the new patch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list