[Webkit-unassigned] [Bug 145214] Pinch-to-zoom has no JavaScript event and cannot be prevented, unlike Chrome

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 20 17:57:47 PDT 2015


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

--- Comment #2 from evan.exe at gmail.com ---
Those are good points. However, the trackpad is a bit of an odd beast and doesn't map well to touch events. The touches are indirect and don't have screen-space positions. I'm much more in favor of something like the approach OS X takes where the gesture recognition has already been performed and you get separate pinch and rotate events. This could easily be added to the web platform either as new events or using existing events as Chrome has done. One easy way to introduce pinch-to-zoom that's less hacky than Chrome's approach could be to emit wheel events with the scale factor change in the deltaZ value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150521/faa06765/attachment.html>


More information about the webkit-unassigned mailing list