Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56bf78a3afaabfef23f370ab77fcbbc42cda26b7
      
https://github.com/WebKit/WebKit/commit/56bf78a3afaabfef23f370ab77fcbbc42cda26b7
  Author: Antoine Quint <grao...@webkit.org>
  Date:   2024-10-08 (Tue, 08 Oct 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/scroll-timeline-progress.tentative-expected.txt
    M Source/WebCore/animation/AnimationTimeline.h
    M Source/WebCore/animation/WebAnimation.cpp
    M Source/WebCore/animation/WebAnimation.h

  Log Message:
  -----------
  [scroll-animations] update animation procedures to set the "auto align start 
time" flag
https://bugs.webkit.org/show_bug.cgi?id=280963
rdar://137414223

Reviewed by Dean Jackson.

The Web Animations Level 2 specification introduces the "auto align start time" 
flag for
animations associated with a non-monotonic / progress-based timeline, such as a 
scroll
timeline. We update the various existing procedures to account for this new 
flag, in
preparation for the implementation of the "auto-aligning the start time" 
procedure
(https://drafts.csswg.org/web-animations-2/#auto-aligning-start-time) in a 
future patch.

* 
LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/scroll-timeline-progress.tentative-expected.txt:
* Source/WebCore/animation/AnimationTimeline.h:
(WebCore::AnimationTimeline::isMonotonic const):
(WebCore::AnimationTimeline::isProgressBased const):
* Source/WebCore/animation/WebAnimation.cpp:
(WebCore::WebAnimation::setTimeline):
(WebCore::WebAnimation::setStartTime):
(WebCore::WebAnimation::silentlySetCurrentTime):
(WebCore::WebAnimation::setCurrentTime):
(WebCore::WebAnimation::timeEpsilon const):
(WebCore::WebAnimation::playState const):
(WebCore::WebAnimation::zeroTime const):
(WebCore::WebAnimation::resetPendingTasks):
(WebCore::WebAnimation::play):
(WebCore::WebAnimation::runPendingPlayTask):
(WebCore::WebAnimation::pause):
(WebCore::WebAnimation::runPendingPauseTask):
* Source/WebCore/animation/WebAnimation.h:

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