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

> And if putting a * in front of everything is acceptable, why wouldn't putting a @ in front of everything be acceptable?

- We want to minimize syntactic differences between rules that are valid in nested context and those that are valid in other contexts (such as top-level or inside `@scope`), so that they can be copy-pasted between contexts.
- A lot (probably most) of selectors in real-world websites don't start with a tag name, they start with a class, pseudo-class, or ID selector and therefore don't need a prefix.

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


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

Received on Friday, 23 December 2022 18:44:12 UTC