Skip to content

REGRESSION(305618@main): [iOS] Swipe gesture fails to reliably trigger scroll over certain HTML content in Mail#57879

Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
aprotyas:eng/306977
Feb 5, 2026
Merged

REGRESSION(305618@main): [iOS] Swipe gesture fails to reliably trigger scroll over certain HTML content in Mail#57879
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
aprotyas:eng/306977

Conversation

@aprotyas
Copy link
Member

@aprotyas aprotyas commented Feb 4, 2026

2a02830

REGRESSION(305618@main): [iOS] Swipe gesture fails to reliably trigger scroll over certain HTML content in Mail
https://bugs.webkit.org/show_bug.cgi?id=306977
rdar://169511014

Reviewed by Simon Fraser.

Our adoption of `setDecelerationTrackingBehavior` broke scrolling during
an existing momentum phase on certain HTML content in Mail.app.

This commit is a simple revert of 305618@main, unfortunately bringing
back webkit.org/b/302754.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebKit/Configurations/AllowedSPI-legacy.toml:
* Source/WebKit/Configurations/AllowedSPI.toml:
* Source/WebKit/Platform/spi/ios/UIKitSPI.h:
* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _setupScrollAndContentViews]):
* Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm:
(WebKit::ScrollingTreeScrollingNodeDelegateIOS::commitStateAfterChildren):

Canonical link: https://commits.webkit.org/306820@main

da9ed64

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows Apple Internal
❌ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe 🛠 win ❌ 🛠 ios-apple
✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug ✅ 🧪 wpe-wk2 🧪 win-tests ❌ 🛠 mac-apple
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe ⏳ 🛠 vision-apple
✅ 🧪 ios-wk2-wpt ✅ 🧪 api-mac-debug ✅ 🛠 wpe-libwebrtc
✅ 🛠 🧪 jsc ✅ 🧪 api-ios ✅ 🧪 mac-wk1 ✅ 🛠 gtk
✅ 🛠 🧪 jsc-debug-arm64 ✅ 🛠 vision ✅ 🧪 mac-wk2 ✅ 🧪 gtk-wk2
✅ 🛠 vision-sim ✅ 🧪 mac-AS-debug-wk2 ✅ 🧪 api-gtk
✅ 🧪 vision-wk2 ✅ 🧪 mac-wk2-stress ✅ 🛠 playstation
✅ 🛠 🧪 unsafe-merge ✅ 🛠 tv ✅ 🧪 mac-intel-wk2 ✅ 🛠 jsc-armv7
✅ 🛠 tv-sim ✅ 🛠 mac-safer-cpp ✅ 🧪 jsc-armv7-tests
✅ 🛠 watch
✅ 🛠 watch-sim

@aprotyas aprotyas self-assigned this Feb 4, 2026
@aprotyas aprotyas added the UI Events For bugs related to user interactions like keyboard, mouse, and touch events. label Feb 4, 2026
@aprotyas
Copy link
Member Author

aprotyas commented Feb 4, 2026

Thank you for the review!

@aprotyas
Copy link
Member Author

aprotyas commented Feb 4, 2026

I do not understand the style checker error.

@aprotyas
Copy link
Member Author

aprotyas commented Feb 5, 2026

Thank you for the review!

@aprotyas aprotyas added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Feb 5, 2026
…r scroll over certain HTML content in Mail

https://bugs.webkit.org/show_bug.cgi?id=306977
rdar://169511014

Reviewed by Simon Fraser.

Our adoption of `setDecelerationTrackingBehavior` broke scrolling during
an existing momentum phase on certain HTML content in Mail.app.

This commit is a simple revert of 305618@main, unfortunately bringing
back webkit.org/b/302754.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebKit/Configurations/AllowedSPI-legacy.toml:
* Source/WebKit/Configurations/AllowedSPI.toml:
* Source/WebKit/Platform/spi/ios/UIKitSPI.h:
* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _setupScrollAndContentViews]):
* Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm:
(WebKit::ScrollingTreeScrollingNodeDelegateIOS::commitStateAfterChildren):

Canonical link: https://commits.webkit.org/306820@main
@webkit-commit-queue
Copy link
Collaborator

Committed 306820@main (2a02830): https://commits.webkit.org/306820@main

Reviewed commits have been landed. Closing PR #57879 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 2a02830 into WebKit:main Feb 5, 2026
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Feb 5, 2026
@aprotyas aprotyas deleted the eng/306977 branch February 5, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI Events For bugs related to user interactions like keyboard, mouse, and touch events.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants