Issue metadata
Sign in to add a comment
|
Add 'pinch-zoom' support to touch-action |
||||||||||||||||||||||||||||||||||||||||||||
Issue descriptionAdd support for the 'pinch-zoom' token to the touch-action CSS property. proposed spec here: https://rawgit.com/RByers/w3c-pointerevents/touch-action-pinch-zoom/index.html#the-touch-action-css-property Discussion: https://github.com/w3c/pointerevents/issues/29 I think it's possible that landing this in the spec may get bogged down by politics, but I don't think that should stop us. IE/Edge have long-shipped this: https://msdn.microsoft.com/en-ca/library/windows/apps/hh767313.aspx. So we can just ship compatiblity as a "de facto standard". I think this is urgent because there are scenarios where we'd want people to use passive event listeners (eg. image carousels) where we really don't want to force them into hurting accessibility of their site by disabling pinch-zoom. See, for example, https://bugs.jqueryui.com/ticket/14993 I think this should be trivial to implement - IIRC all the plumbing is already there due to 'touch-action: manipulation'. We just have to hook up CSS parser syntax to the WebTouchActionPinchZoom bit. Ideally we'd also land a web-platform-test for this, but I wouldn't block shipping on it. dtapuska@ WDYT, worth trying to do in M54?
,
Jul 6 2016
,
Aug 23 2016
Note that there's some benefit to getting this out before the intervention in issue 639227 . That intervention will force some developers to use touch-action on their image carousels, and it would be a better user experience (and better for accessibility) if we could recommend 'touch-action: pan-y pinch-zoom' instead of just 'touch-action: pan-y' for those scenarios. It's not a hard dependency though.
,
Aug 30 2016
,
Sep 9 2016
AMP needs this feature: https://github.com/ampproject/amphtml/issues/4820#issuecomment-245992277
,
Oct 11 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/21c54c28e3b81d082b5d151c705c954cddef39f4 commit 21c54c28e3b81d082b5d151c705c954cddef39f4 Author: dtapuska <dtapuska@chromium.org> Date: Tue Oct 11 21:41:29 2016 Enable pinch-zoom css touch-action. Approved intent to ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/EVN4Y8NVtNM/VanLZ_1hBAAJ BUG= 626086 Review-Url: https://codereview.chromium.org/2410213002 Cr-Commit-Position: refs/heads/master@{#424557} [modify] https://crrev.com/21c54c28e3b81d082b5d151c705c954cddef39f4/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
,
Oct 24 2016
,
Oct 24 2016
|
|||||||||||||||||||||||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||||||||||||||||||||||
Comment 1 by dtapu...@chromium.org
, Jul 6 2016