Re: [csswg-drafts] [scroll-animations] Broader scope of scroll timelines (#7759)

Finally read everything, my comments are that I think @andruud's proposal is really confusing from a user point of view, but @flackr's works for me.

My mental model is that we have the various properties working as they did before we defined -attachment, and we have a new property, `timeline-root` (or `timeline-scope`, which would be my suggestion), which changes the scope of a matching descendant timeline, making it visible to the `timeline-scope` element’s entire subtree.

Nested timelines with the same name would obscure ancestor timelines with that name, which allows for recursion. The one technical downside compared to -attachment model is that you can't jump over e.g. conflicting names in a shadow DOM wrapper because of the implicit matching. But I think the usability is better, so probably worth that cost.

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


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

Received on Thursday, 4 May 2023 17:28:01 UTC