WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
284540
[scroll-animations]
https://codepen.io/t_afif/full/ZEgjNxm
does not work
https://bugs.webkit.org/show_bug.cgi?id=284540
Summary
[scroll-animations] https://codepen.io/t_afif/full/ZEgjNxm does not work
Antoine Quint
Reported
2024-12-12 06:29:15 PST
The demo
https://codepen.io/t_afif/full/ZEgjNxm
does not work perfectly: fewer generated animations.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-12-12 06:36:16 PST
<
rdar://problem/141356467
>
Antoine Quint
Comment 2
2024-12-12 08:10:17 PST
We only yield 4 animations associated with the document timeline whereas Chrome yields an additional 8 animations associated with view timelines.
Antoine Quint
Comment 3
2025-01-16 00:55:55 PST
In WebKit, we get the following animation targets: 1. <progress max="100" value="70">…</progress> 2. <progress value=".5">…</progress> 3. <progress value=".2">…</progress> 4. <progress max="1000" value="920">…</progress> In Chrome, we have the same animation targets but each with 3 animations.
Antoine Quint
Comment 4
2025-01-16 01:05:30 PST
The animations we fail to yield are those targeting `::before` and `::after` pseudo elements.
Antoine Quint
Comment 5
2025-01-16 01:16:48 PST
Hmm, `--timeline-scope` is involved here as well.
Antoine Quint
Comment 6
2025-02-19 02:33:22 PST
I've identified two separate issues at play here as we do not correctly: 1. resolve `animation-timeline` values, accounting for `timeline-scope`, within shadow roots 2. resolve custom properties on pseudo-elements of an element with a user-agent shadow root attached I have a fix coming for the first issue, and I filed
bug 287948
for the second issue. Hopefully, there aren't more issues lurking.
Antoine Quint
Comment 7
2025-02-19 03:56:30 PST
Issue number 1 is being tracked by
bug 287950
.
Antoine Quint
Comment 8
2025-04-30 02:51:10 PDT
I believe
bug 287948
is the only reason this demo isn't working but will only know for sure when it's fixed.
Antoine Quint
Comment 9
2025-05-12 07:13:46 PDT
Indeed, works great as of
294784@main
.
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