You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scroll-animations-1] Are timeline names tree-scoped? #8135
I initially thought "yes", but then https://drafts.csswg.org/css-scoping/#shadow-names seemed to only apply to "global names" (i.e. names created by at-rules), which is not quite the case for scroll timeline names.
There's a discussion in #7916 in relation to anchor/CQ names, which seems to expect that names (also non-"global" names) are tree-scoped by default?
Either way, it would be good to state it explicitly.
I'm not sure what to do about this issue, it seems like it was resolved in #7047 (as mentioned by @fantasai above #8135 (comment) ) and there is a separate issue as mentioned by @bramus#8135 (comment) . Do we close this and leave it to those other issues?
This is not the same issue as #8192. That affects anonymous timeline lookups as well (scroll()), while this does not. Not having tree-scoped timelines does not match @tabatkins' most recent thinking in #7916 in my opinion. However, if we're still sure about the #7047 decision, then I'm happy to close this issue. Tree-scoped names are painful to implement anyway.
Activity
fantasai commentedon Dec 7, 2022
Last time we discussed it, we decided that timeline names would be scoped across the flattened tree: see minutes
Lmk if you think we should reconsider for some reason
[scroll-timeline] Hide support for tree-scoped timeline behind a flag
[scroll-timeline] Hide support for tree-scoped timeline behind a flag
[scroll-timeline] Hide support for tree-scoped timeline behind a flag
[scroll-timeline] Hide support for tree-scoped timeline behind a flag
[scroll-timeline] Hide support for tree-scoped timeline behind a flag
[scroll-timeline] Hide support for tree-scoped timeline behind a flag
Bug 1810494 [wpt PR 37982] - [scroll-timeline] Hide support for tree-…
bramus commentedon Jan 23, 2023
Discussion continued in #8192?
Bug 1810494 [wpt PR 37982] - [scroll-timeline] Hide support for tree-…
flackr commentedon Jan 31, 2023
I'm not sure what to do about this issue, it seems like it was resolved in #7047 (as mentioned by @fantasai above #8135 (comment) ) and there is a separate issue as mentioned by @bramus #8135 (comment) . Do we close this and leave it to those other issues?
andruud commentedon Feb 1, 2023
This is not the same issue as #8192. That affects anonymous timeline lookups as well (
scroll()), while this does not. Not having tree-scoped timelines does not match @tabatkins' most recent thinking in #7916 in my opinion. However, if we're still sure about the #7047 decision, then I'm happy to close this issue. Tree-scoped names are painful to implement anyway.Bug 1810494 [wpt PR 37982] - [scroll-timeline] Hide support for tree-…
[scroll-animations] Remove CSSTreeScopedTimelines flag