Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 879720936c80462e64cfed93a27ff23f7d54d948
      
https://github.com/WebKit/WebKit/commit/879720936c80462e64cfed93a27ff23f7d54d948
  Author: Antoine Quint <grao...@webkit.org>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

  Changed paths:
    M Source/WebCore/animation/AnimationTimelinesController.cpp
    M Source/WebCore/animation/AnimationTimelinesController.h

  Log Message:
  -----------
  [scroll-animations] make `timeline-scope` attachment operations only deal 
with CSS Animations
https://bugs.webkit.org/show_bug.cgi?id=287233

Reviewed by Tim Nguyen.

The `AnimationTimelinesController` code related to `timeline-scope` attachment 
operations
currently deals with `WebAnimation` objects, but only CSS Animations can have a 
style-originated
timeline subject to `timeline-scope`, so we should be dealing with 
`CSSAnimation` objects instead.

This is just a stricter approach to the existing mechanism with no observable 
behavior change.

* Source/WebCore/animation/AnimationTimelinesController.cpp:
(WebCore::AnimationTimelinesController::unregisterNamedTimeline):
(WebCore::AnimationTimelinesController::setTimelineForName):
(WebCore::AnimationTimelinesController::isPendingTimelineAttachment const):
* Source/WebCore/animation/AnimationTimelinesController.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to