Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7e80c02cd2997f2a81f9efa62913cf47e78e07ad
      
https://github.com/WebKit/WebKit/commit/7e80c02cd2997f2a81f9efa62913cf47e78e07ad
  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-expected.txt
    M Source/WebCore/animation/StyleOriginatedTimelinesController.cpp
    M Source/WebCore/animation/StyleOriginatedTimelinesController.h

  Log Message:
  -----------
  [scroll-animations] changed `timeline-scope` values should update timelines 
for animations globally
https://bugs.webkit.org/show_bug.cgi?id=323073
rdar://186331685

Reviewed by Anne van Kesteren.

Because style-originated timeline would only match within an animation's target 
ancestor chain,
or in the subtree of an element with a `timeline-scope` property, we would only 
consider the hierarchy
of the element that had its `timeline-scope` change. Now that style-originated 
timelines match
globally [0] we must update any animation for a name contained in the 
`timeline-scope` property
that changed.

This fixes the final failure in the WPT test 
`scroll-animations/css/timeline-scope.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-expected.txt:
* Source/WebCore/animation/StyleOriginatedTimelinesController.cpp:
(WebCore::StyleOriginatedTimelinesController::updateTimelinesForTimelineScope):
(WebCore::StyleOriginatedTimelinesController::updateNamedTimelineMapForTimelineScope):
(WebCore::updateTimelinesForTimelineScope): Deleted.
* Source/WebCore/animation/StyleOriginatedTimelinesController.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to