Re: [csswg-drafts] [css-view-transitions-1] Should view transition names be tree scoped? (#10145)

> In other specs the current direction is to have these names operate on the flat tree, and scope them using a separate property (e.g. anchor-scope) rather than using the shadow boundary for this scoping.

No, anchor positioning is tree-scoped, and there's no plan to change it. I think the issue and proposal in https://github.com/w3c/csswg-drafts/issues/10325 was just misunderstood. The anchor-scope property does not replace tree-scoping, it's just an additional mechanism on top of it.

Scroll-driven animations however is more like what you describe. For some reason I never understood, timeline names are _not_ tree-scoped. https://github.com/w3c/csswg-drafts/issues/8135. But I'm not sure we should draw inspiration from this, we might want to fix SDA instead. 

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


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

Received on Wednesday, 3 July 2024 19:35:01 UTC