Bug 287950

Summary: [scroll-animations] view timeline with its subject inside a shadow root cannot be referenced out of the shadow root
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, karlcow, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/50798
Bug Depends on:    
Bug Blocks: 284540    

Antoine Quint
Reported 2025-02-19 03:56:02 PST
The demo at https://codepen.io/t_afif/full/ZEgjNxm creates a view timeline with the subject being one of the parts inside a <progress> element's shadow root. That view timeline is then referenced using `animation-timeline` outside of that <progress> element's shadow root. That works fine in Chrome but fails in WebKit. This blocks bug 284540.
Attachments
Antoine Quint
Comment 1 2025-02-19 03:59:42 PST
Antoine Quint
Comment 2 2025-02-19 04:04:55 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/50798
EWS
Comment 3 2025-02-20 01:09:36 PST
Committed 290695@main (00baf1bf9de2): <https://commits.webkit.org/290695@main> Reviewed commits have been landed. Closing PR #40844 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2025-02-20 01:10:15 PST
Note You need to log in before you can comment on or make changes to this bug.