Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1448205ae3fa7c6ff3d6bb6379288cd230c8cd72
https://github.com/WebKit/WebKit/commit/1448205ae3fa7c6ff3d6bb6379288cd230c8cd72
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M Source/WebCore/platform/TouchAction.h
M Source/WebKit/UIProcess/ios/WKTouchActionGestureRecognizer.mm
Log Message:
-----------
Add a touch-action double-tap-to-zoom policy predicate
https://bugs.webkit.org/show_bug.cgi?id=319730
rdar://182562045
Reviewed by Richard Robinson.
The CSS `touch-action` rule that double-tap-to-zoom-like gestures are
disabled by both `none` and `manipulation` can be shared by multiple
readers.
In this patch, we make it a single inline predicate, and we adopt it in
WKTouchActionGestureRecognizer. More callers will follow.
* Source/WebCore/platform/TouchAction.h:
(WebCore::touchActionAllowsDoubleTapToZoom):
* Source/WebKit/UIProcess/ios/WKTouchActionGestureRecognizer.mm:
(-[WKTouchActionGestureRecognizer canPreventGestureRecognizer:]):
Canonical link: https://commits.webkit.org/317451@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications