NEW303401
[scroll-anchoring] WPT test `scroll-animations/scroll-timelines/animation-with-root-scroller.html` fails with "Threaded Scroll-driven Animations" enabled
https://bugs.webkit.org/show_bug.cgi?id=303401
Summary [scroll-anchoring] WPT test `scroll-animations/scroll-timelines/animation-wit...
Antoine Quint
Reported 2025-12-02 10:05:32 PST
Once bug 303313 and bug 303317 both land, the WPT test `scroll-animations/scroll-timelines/animation-with-root-scroller.html` fails with "Threaded Scroll-driven Animations" enabled, but passes if "CSS Scroll Anchoring" is disabled. This fails: run-webkit-tests --debug --experimental-feature ThreadedScrollDrivenAnimationsEnabled=true imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/animation-with-root-scroller.html This passes: run-webkit-tests --debug --experimental-feature ThreadedScrollDrivenAnimationsEnabled=true --experimental-feature CSSScrollAnchoringEnabled=false imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/animation-with-root-scroller.html The reason this reftest fails is that the whole document gets scrolled to the bottom of the page yielding the `RemoteProgressBasedTimeline` to have its current time set to 100% instead of the expected 50%. I traced the programmatic scroll being triggered under `Document::runScrollSteps()` and the call to `frameView->updateScrollAnchoringPositionForScrollableAreas()`.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-02 10:05:51 PST
Antoine Quint
Comment 2 2025-12-03 23:32:53 PST
This also affects the following tests which are flakey ImageOnlyFailure on macOS… but not on iOS: scroll-animations/css/scroll-timeline-default-quirks-mode.html [ ImageOnlyFailure Pass ] scroll-animations/css/scroll-timeline-default-writing-mode-rl.html [ ImageOnlyFailure Pass ] scroll-animations/css/scroll-timeline-default.html [ ImageOnlyFailure Pass ] scroll-animations/css/scroll-timeline-frame-size-changed.html [ ImageOnlyFailure Pass ] scroll-animations/css/scroll-timeline-inline-orientation.html [ ImageOnlyFailure Pass ] The test scroll-animations/scroll-timelines/animation-with-root-scroller.html fails reliably on both macOS and iOS.
Antoine Quint
Comment 3 2025-12-04 00:07:05 PST
Further testing indicate that indeed this flakiness also applies to iOS, sorry for the wrong information earlier.
Antoine Quint
Comment 5 2026-02-13 02:02:44 PST
This progressed with 307007@main.
Antoine Quint
Comment 6 2026-02-13 02:05:28 PST
EWS
Comment 7 2026-02-13 02:07:58 PST
Test gardening commit 307452@main (954eb7f71ef8): <https://commits.webkit.org/307452@main> Reviewed commits have been landed. Closing PR #58616 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.