- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 May 2024 16:13:43 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-view-transitions-1] Should view transition names be tree scoped?`, and agreed to the following: * `RESOLVED: view-transition-name lookup is tree-scoped` <details><summary>The full IRC log of that discussion</summary> <fantasai> khush: Spec currently traverses all DOM elements, including those in shadow DOM<br> <fantasai> khush: Suggestion is to limit to tree-scoped<br> <TabAtkins> +1 to this<br> <fantasai> khush: so this would exclude things in shadow DOM<br> <fantasai> astearns: I've written some tests for tree-scoping, btw, and interop is terrible<br> <fantasai> khush: Are you talking about other features that are similar?<br> <fantasai> astearns: Yeah, I did @property rules and @xxx rules, which are supposed to be tree-scoped, and they're not handled correctly<br> <astearns> zakim, open queue<br> <Zakim> ok, astearns, the speaker queue is open<br> <fantasai> astearns: so probably some other things are also broken<br> <emilio> fantasai: two things, khush does this mean that for v-t that you'll never be doing transitions on anything in the shadow dom?<br> <emilio> khush: yeah this means that you couldn't use something inside the shadow dom as an independent thing<br> <kizu> q+<br> <emilio> ... scoped transitions would allow you to do that<br> <emilio> ... but only as a unit inside the DOM<br> <emilio> fantasai: to alan, there's two different kinds of scoping, at-rules and name defining<br> <emilio> ... those are quite different mechanism<br> <astearns> ack kizu<br> <fantasai> s/defining/defining on elements/<br> <emilio> ... I'd expect less issues with things like timeline scopes and so on<br> <fantasai> kizu: Wrt other scoping things, we also have timeline-scope and anchor-name<br> <fantasai> kizu: Might want to have a way to expose these names, since might have cases where you want to expose<br> <khush> q+<br> <fantasai> kizu: maybe this is a more general issue that we need to handle in CSS, and have it work consistently<br> <astearns> ack khush<br> <TabAtkins> +1, we need a general mechanic for weakening shadow encapsulation<br> <TabAtkins> But we should be consistent for now<br> <fantasai> khush: kizu's point reminds me of ::part(), could use CSS to expose names from within shadow DOM outside it<br> <fantasai> khush: maybe if you expose the element could allow it to match<br> <fantasai> khush: could make it more complicated to implement<br> <fantasai> khush: we already have things in the platform that allow such information, in those cases do you want naming in CSS to also be exposed?<br> <fantasai> astearns: That would be a separate feature, though. This is for default behavior for view transitions<br> <fantasai> khush: Does it make sense to make this resolution cover other cases also? Have a general principle<br> <fantasai> astearns: I think a separate issue on general mechanism, because we do want to consider them all<br> <fantasai> astearns: don't want to have a specific escape route just for VT<br> <TabAtkins> Agree, separate issues<br> <fantasai> RESOLVED: view-transition-name lookup is tree-scoped<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10145#issuecomment-2100931679 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 8 May 2024 16:13:44 UTC