Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8c1a483a7d847d462954a51fd3cf92168f1da673
https://github.com/WebKit/WebKit/commit/8c1a483a7d847d462954a51fd3cf92168f1da673
Author: Antoine Quint <[email protected]>
Date: 2026-09-01 (Tue, 01 Sep 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/timeline-scope-all-expected.txt
M Source/WebCore/animation/StyleOriginatedTimelinesController.cpp
Log Message:
-----------
[scroll-animations] style-originated timelines defined outside of
`timeline-scope` hierarchy should yield an inactive timeline
https://bugs.webkit.org/show_bug.cgi?id=323071
rdar://186330965
Reviewed by Anne van Kesteren.
When dealing with an animation target with an ancestor that has a
`timeline-scope` property set,
we would previously return a null timeline if we failed to find a timeline
matching the provided
name. However, now that style-originated timelines match globally and not just
within the ancestor
chain [0], we should treat such cases as yielding an inactive (or deferred as
it's sometimes called)
timeline.
This fixes the failures in the WPT test
`scroll-animations/css/timeline-scope-all.html` introduced
by the WPT changes in https://github.com/web-platform-tests/wpt/pull/61776.
[0] https://github.com/w3c/csswg-drafts/pull/13624
*
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/timeline-scope-all-expected.txt:
* Source/WebCore/animation/StyleOriginatedTimelinesController.cpp:
(WebCore::StyleOriginatedTimelinesController::determineTreeOrder):
Canonical link: https://commits.webkit.org/320227@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications