[webkit-changes] [WebKit/WebKit] 653c13: [scroll-animations] Implement view-timeline-inset ...
Nikos Mouchtaris
noreply at github.com
Thu Oct 3 14:30:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 653c136096bd0586685b8ec24ff51682e1b6c3d9
https://github.com/WebKit/WebKit/commit/653c136096bd0586685b8ec24ff51682e1b6c3d9
Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
Date: 2024-10-03 (Thu, 03 Oct 2024)
Changed paths:
M Source/WebCore/animation/ViewTimeline.cpp
Log Message:
-----------
[scroll-animations] Implement view-timeline-inset property
https://bugs.webkit.org/show_bug.cgi?id=280655
rdar://137009069
Reviewed by Antoine Quint.
Implement parsing of view timeline inset if set via the ViewTimelineOptions,
and adjust computeViewTimelineData to use insets.
* Source/WebCore/animation/ViewTimeline.cpp:
(WebCore::lengthForInset):
(WebCore::insetsFromString):
(WebCore::insetsFromOptions):
(WebCore::ViewTimeline::ViewTimeline):
(WebCore::ViewTimeline::computeViewTimelineData const):
(WebCore::ViewTimeline::currentTime):
* Source/WebCore/animation/ViewTimeline.h:
Canonical link: https://commits.webkit.org/284636@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