Re: [csswg-drafts] [scroll-animations-1] Use pseudo-element as the source of ScrollTimeline or subject of ViewTimeline (#13471)

We should follow the same convention as with web-animations. You can animate pseudo-elements but when you look at the [target element](https://www.w3.org/TR/web-animations-1/#dom-keyframeeffect-target) you get the originating element. For scroll timelines this means until we add a pseudo attribute it will not be possible to tell whether the scroll timeline is on the pseudo element or the originating element from JS.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13471#issuecomment-3880559271 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 10 February 2026 20:33:55 UTC