Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0816811989195feb34d8552b04e655a8958c4d9c
https://github.com/WebKit/WebKit/commit/0816811989195feb34d8552b04e655a8958c4d9c
Author: Tim Horton <[email protected]>
Date: 2025-12-12 (Fri, 12 Dec 2025)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.h
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
M Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm
Log Message:
-----------
Expose to clients whether touch-action disallows panning at a given point
rdar://163145549
https://bugs.webkit.org/show_bug.cgi?id=304020
Reviewed by Lily Spiniolas.
Test: Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h:
* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _allowsTouchPanningAtPoint:]):
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView allowsTouchPanningAtPoint:]):
Expose to clients whether the page allows touch-based panning at a given point
via the touch-action CSS.
This could be used to, for example, control whether client-owned pan gestures
used for things
other than scrolling should be disabled in order to defer to the content.
* Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm:
(TestWebKitAPI::TEST(ScrollViewScrollabilityTests, TouchActionPanAPI)):
Add a test.
Canonical link: https://commits.webkit.org/304387@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications