Re: [csswg-drafts] [selectors][css-conditional] Pseudo-class that is syntactic sugar for wrapping in an `@rule` — any at-rule (#11969)

@brunoais Making nesting more compact is not what this proposal is about **at all**, it's about reducing duplication (of dozens or hundreds of declarations in many cases…). 

To be fair, that was my bad; I assumed readers were familiar with the use cases, and forgot there are always new folks around. I just edited the OP to add an example that more clearly illustrates the problem in the first section, and ensure all examples include at least one duplicated block of declarations in the "becomes" code block so that someone skimming and skipping most of the examples can still see the duplication.

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


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

Received on Thursday, 20 March 2025 23:57:13 UTC