Re: [csswg-drafts] [selectors-4] Allow * before a type selector (#8253)

Also not a fan of reusing `*` for this, for the same reasons as detailed in https://github.com/w3c/csswg-drafts/issues/8253#issuecomment-1362237127 and https://github.com/w3c/csswg-drafts/issues/8253#issuecomment-1362238253. For `*.foo` is does make sense, but `*div` it does not.

`@ ` seems the more obvious choice as a prefix, but not a big fan of this very short version of `@nest ` _(which it essentially is)_. If we were to introduce a nestable at-rule such as `@progress` or @color` later on, those could easily be confused with `@ progress` and `@ color` by the author if they miss the space while reading. Using the long form `@nest ` is more explicit in the intention _(… until a `nest` element gets introduced that is)_.

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8253#issuecomment-1364520043 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 24 December 2022 12:12:27 UTC