WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 286920
284551
[scroll-animations] support attachment range keywords in keyframes (CSS and JS API)
https://bugs.webkit.org/show_bug.cgi?id=284551
Summary
[scroll-animations] support attachment range keywords in keyframes (CSS and J...
Antoine Quint
Reported
2024-12-12 07:30:24 PST
The @keyframes rule in CSS and the `offset` property in the Web Animations JS API are extended to support attachment range keywords for Scroll-driven Animations. The spec at
https://drafts.csswg.org/scroll-animations-1/#named-range-keyframes
extends `<keyframe-selector>` to contain `<timeline-range-name> <percentage>`. The spec at
https://drafts.csswg.org/web-animations-2/#keyframe-offset-type
details how this works with the Web Animations JavaScript API. This feature affects several known demos of Scroll-driven Animations: -
https://scroll-driven-animations.style/demos/contact-list/css/
(
bug 284532
) -
https://scroll-driven-animations.style/demos/contact-list/waapi/
(
bug 284533
) -
https://codepen.io/utilitybend/pen/RwqBymL
(
bug 284538
)
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-12-12 07:31:06 PST
<
rdar://problem/141358265
>
Antoine Quint
Comment 2
2024-12-13 08:46:26 PST
Here are two tests specifically testing this on the Web Animations JavaScript API side: - scroll-animations/view-timelines/get-keyframes-with-timeline-offset.html - scroll-animations/view-timelines/timeline-offset-in-keyframe.html And here are tests for the CSS @keyframes rule: - scroll-animations/css/merge-timeline-offset-keyframes.html - scroll-animations/css/timeline-offset-in-keyframe-change-timeline.tentative.html - scroll-animations/css/timeline-offset-keyframes-hidden-subject.html - scroll-animations/css/timeline-offset-keyframes-with-document-timeline.html - scroll-animations/css/view-timeline-keyframe-boundary-interpolation.html - scroll-animations/css/animation-timeline-view-functional-notation.tentative.html - scroll-animations/css/timeline-range-name-offset-in-keyframes.tentative.html - scroll-animations/css/named-range-keyframes-with-document-timeline.tentative.html
Antoine Quint
Comment 3
2025-02-20 01:51:43 PST
*** This bug has been marked as a duplicate of
bug 286920
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug