- From: François REMY via GitHub <sysbot+gh@w3.org>
- Date: Sun, 29 Oct 2023 10:49:15 +0000
- To: public-css-archive@w3.org
At the risk of getting lynched, have we considered disallowing selector lists in nesting?
That way, people would use `:is()` or `:where()` explicitely when they need a list, and it would be more obvious.
Because I admit that it smells bad to me that
```css
a, .link{ * { color:inherit} }
```
and
```css
a *, .link * { color:inherit}
```
behave differently.
We could also explicitely allow only one top-level list, do proper expansion for that one, but disallow nested lists and force authors to wrap them in `:is()` to make them aware of the change in specificity that it implies.
--
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9492#issuecomment-1784063864 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 29 October 2023 10:49:17 UTC