Re: [csswg-drafts] [selectors-4] Attribute match syntax extended to cover tag selectors (#6571)

+1 🎉 

Questions:
- The use of wildcard has some implications of a "blob"-type syntax. Would this be best restricted to `{string}*` only, or would we have the ability for `*{string}` or `{string}*{string}`, etc.? While there is lots of prior art of custom element scoping that that leverages a prepositional namespace,`x-*`, there is certainly no requirement for this, and the possibility of supporting postpositional namespacing via `*{string}` is quite interested.
- All the approach here open the possibility for an `h*` selector, which is awesome! However the ability for that to point to `h1-6` and `html` and `h-card`, etc. might be both undesired or just plain bad practice. Is that an acceptable future? Should the use of a `-` in the selector form a structural requirement as well?

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


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

Received on Thursday, 2 September 2021 18:02:03 UTC