- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Sun, 10 Dec 2023 21:54:25 +0000
- To: public-css-archive@w3.org
> Regarding complex selectors. I think it's OK to add a limitation to only allow class (and ID) selector for View transitions as @bramus suggested.
>
> > e.g. `::v-t-x(* of #id)` and `::v-t-x(* of .cls)`.
>
I think this creates an unnecessary limitiation on view transitions. It makes it so that some CSS would work as expected and some won't, in a way that's not consistent with the rest of CSS... I mean you wouldn't even be able to do the following without changing your DOM:
```css
header > * {
view-transition-class: any-child-of-header;
}
```
--
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8319#issuecomment-1849098257 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 10 December 2023 21:54:27 UTC