- From: Bramus! via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Aug 2023 13:24:55 +0000
- To: public-css-archive@w3.org
> Similar to @nhoizey's idea, could be supporting `*` as a wildcard identifier like so:
>
> ```css
> ::view-transition-old(box-*) {
> /* … */
> }
> ```
I like this proposal. It would remove the need for an extra `view-transition-class` property. To address Jake’s [remark](https://github.com/w3c/csswg-drafts/issues/8319#issuecomment-1611612281): `*` is not allowed in an `<ident-token>` _([spec](https://www.w3.org/TR/css-syntax-3/#ident-token-diagram))_ so it could just work.
---
An alternative idea to Jake’s [original syntax suggestion](https://github.com/w3c/csswg-drafts/issues/8319#issue-1536020896) that popped up: reuse the namespace selector syntax, like so:
```css
.box {
view-transition-class: box;
}
::view-transition-group(box|*) {
/* … */
}
```
--
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8319#issuecomment-1680601913 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 August 2023 13:24:58 UTC