WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
24813
Continuous scroll devices shouldn't use an SPI on Mac
https://bugs.webkit.org/show_bug.cgi?id=24813
Summary
Continuous scroll devices shouldn't use an SPI on Mac
Avi Drissman
Reported
2009-03-25 13:22:54 PDT
Currently, to support a continuous scroll device, WheelEventMac uses an SPI (wkGetWheelEventDeltas) (see
http://trac.webkit.org/browser/trunk/WebCore/platform/mac/WheelEventMac.mm
). This isn't necessary anymore in Leopard. In Chromium, we're using CGEvents to get the data we need. See
http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/webinputevent_mac.mm
. WebKit should switch for two reasons: - The use of SPIs is bad and should be reduced - The measurement of scrolling units should agree across WebKit browsers. For example, the DOM scroll event should have non-accelerated ticks. We have that in Chromium. Does WebKit? It's hard to say as the SPI isn't documented.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2023-10-20 07:30:47 PDT
@Simon - is this still applicable?
Simon Fraser (smfr)
Comment 2
2023-10-24 13:47:35 PDT
Unsure without investigation.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug