Re: [csswg-drafts] [scroll-animations-1] Unifying ScrollTimeline and ViewTimeline (#7462)

ScrollTimeline associates with a scroll container. It's not associated with any descendant element.

ViewTimeline inherits from it and is _additionally_ associated with a containing-block descendant of that scroll container so that it can track when that element is visible. I don't see how you can take a ScrollTimeline and use it as a ViewTimeline, it doesn't know which element to track.

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


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

Received on Wednesday, 6 July 2022 22:47:19 UTC