Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f06878c33bc9f63117a77f6c67a5b5f4566f94f3
      
https://github.com/WebKit/WebKit/commit/f06878c33bc9f63117a77f6c67a5b5f4566f94f3
  Author: Nikolaos Mouchtaris <[email protected]>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-pseudo-on-scroller-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-pseudo-on-scroller.html
    M Source/WebCore/animation/AnimationTimelinesController.cpp
    M Source/WebCore/animation/AnimationTimelinesController.h
    M Source/WebCore/animation/CSSAnimation.cpp
    M Source/WebCore/animation/ScrollTimeline.h
    M Source/WebCore/animation/ViewTimeline.cpp
    M Source/WebCore/animation/ViewTimeline.h

  Log Message:
  -----------
  [scroll-animations] Have ViewTimeline hold a Styleable subject
https://bugs.webkit.org/show_bug.cgi?id=286723
rdar://143860366

Reviewed by Antoine Quint.

To handle ViewTimelines with associated pseudo elements, have ViewTimeline hold 
a
styleable subject.

* Source/WebCore/animation/AnimationTimelinesController.cpp:
(WebCore::AnimationTimelinesController::registerNamedViewTimeline):
* Source/WebCore/animation/AnimationTimelinesController.h:
* Source/WebCore/animation/CSSAnimation.cpp:
(WebCore::CSSAnimation::syncStyleOriginatedTimeline):
* Source/WebCore/animation/ScrollTimeline.h:
* Source/WebCore/animation/ViewTimeline.cpp:
(WebCore::ViewTimeline::subject const):
(WebCore::ViewTimeline::setSubject):
(WebCore::ViewTimeline::controller const):
(WebCore::ViewTimeline::cacheCurrentTime):
(WebCore::ViewTimeline::documentWillUpdateAnimationsAndSendEvents):
(WebCore::ViewTimeline::sourceScrollerRenderer const):
* Source/WebCore/animation/ViewTimeline.h:

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



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

Reply via email to