Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1e357f1dcd1b62dd39bc7c071304c092568722ef
      
https://github.com/WebKit/WebKit/commit/1e357f1dcd1b62dd39bc7c071304c092568722ef
  Author: Nikolaos Mouchtaris <[email protected]>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/animation-events-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/pseudo-on-scroller-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/scroll-timeline-document-scroller-quirks-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/scroll-timeline-nearest-with-absolute-positioned-element-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/scroll-timeline-paused-animations-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/scroll-timeline-with-percent-delay.tentative-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-dynamic-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-with-transform-on-subject-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/contain-alignment-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/svg-graphics-element-003-expected.txt
    M Source/WebCore/animation/CSSAnimation.cpp
    M Source/WebCore/animation/ScrollTimeline.cpp
    M Source/WebCore/animation/ScrollTimeline.h

  Log Message:
  -----------
  [scroll-animations] Connect anonymous scroll and view timelines to 
originating element
https://bugs.webkit.org/show_bug.cgi?id=282290
rdar://138873145

Reviewed by Simon Fraser.

Connect created anonymous timelines to the source/subject element, and ensure 
that
scroll timelines find the proper source element based on the provided argument.

* Source/WebCore/animation/CSSAnimation.cpp:
(WebCore::CSSAnimation::syncPropertiesWithBackingAnimation):
* Source/WebCore/animation/ScrollTimeline.cpp:
(WebCore::ScrollTimeline::sourceElementForProgressCalculation const):
(WebCore::ScrollTimeline::computeTimelineData const):
* Source/WebCore/animation/ScrollTimeline.h:

Canonical link: https://commits.webkit.org/286176@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