[webkit-changes] [WebKit/WebKit] 433599: [web-animations] implement the "auto-align start t...
Antoine Quint
noreply at github.com
Mon Oct 14 22:16:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 433599a15892af435851c20280e58a0cc91596cb
https://github.com/WebKit/WebKit/commit/433599a15892af435851c20280e58a0cc91596cb
Author: Antoine Quint <graouts at webkit.org>
Date: 2024-10-14 (Mon, 14 Oct 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/animation-events-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/scroll-timeline-progress.tentative-expected.txt
A LayoutTests/platform/glib/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/scroll-timeline-progress.tentative-expected.txt
M Source/WebCore/animation/WebAnimation.cpp
M Source/WebCore/animation/WebAnimation.h
Log Message:
-----------
[web-animations] implement the "auto-align start time" procedure
https://bugs.webkit.org/show_bug.cgi?id=281420
rdar://137867653
Reviewed by Tim Nguyen.
Web Animations Level 2 introduces an "auto-aligning the start time" procedure for progress-based
animations, such as Scroll-driven Animations. We already added the flag that indicates that an
animation needs to auto-align its start time in 284815 at main, and now we implement the procedure
to act on that flag and implement https://drafts.csswg.org/web-animations-2/#auto-aligning-start-time.
* LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/animation-events-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/scroll-timeline-progress.tentative-expected.txt:
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/scroll-timeline-progress.tentative-expected.txt: Added.
* Source/WebCore/animation/WebAnimation.cpp:
(WebCore::WebAnimation::play):
(WebCore::WebAnimation::autoAlignStartTime):
(WebCore::WebAnimation::tick):
* Source/WebCore/animation/WebAnimation.h:
Canonical link: https://commits.webkit.org/285176@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list