Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d729ce684003576e8ba3bceb657927685fac982f
      
https://github.com/WebKit/WebKit/commit/d729ce684003576e8ba3bceb657927685fac982f
  Author: Antoine Quint <[email protected]>
  Date:   2026-08-28 (Fri, 28 Aug 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/scroll-timeline-name-shadow-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-name-shadow-expected.txt
    M Source/WebCore/animation/StyleOriginatedTimelinesController.cpp
    M Source/WebCore/animation/StyleOriginatedTimelinesController.h

  Log Message:
  -----------
  [scroll-animations] make timeline names loosely-matched
https://bugs.webkit.org/show_bug.cgi?id=322013
rdar://185206745

Reviewed by Anne van Kesteren.

Now that we have the `animation-timeline`, `scroll-timeline-name` and 
`view-timeline-name`
CSS properties track their style scope (see 320026@main) we can use 
`Style::resolveTreeScopedReference()`
to correctly match style-originated timelines.

* 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/scroll-timeline-name-shadow-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-name-shadow-expected.txt:
* Source/WebCore/animation/StyleOriginatedTimelinesController.cpp:
(WebCore::timelineIsInScopeForTarget):
(WebCore::StyleOriginatedTimelinesController::determineTimelineForElement):
(WebCore::StyleOriginatedTimelinesController::attachAnimation):
* Source/WebCore/animation/StyleOriginatedTimelinesController.h:

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



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

Reply via email to