- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Wed, 03 Jul 2024 14:38:25 +0000
- To: public-css-archive@w3.org
It cannot be a pseudo-class as that increases complexity since you can have multiple per selector. The `<selector> @extends <meta-selector>` syntax doesn't have that issue, but is syntactically unclear: is that an at-rule or a style rule? Whereas I believe an at-rule in the style rule is parse-able with the existing syntax, and has the added benefit that you can define the order as being significant. Another syntax could be a special property, e.g. `like: selector(.foo);` which would work like a shorthand specifying the computed style of all properties from the rules the meta-selector matches. A bonus of that is that it could cascade normally and its conflict resolution uses existing language mechanisms. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10222#issuecomment-2206338283 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 3 July 2024 14:38:25 UTC