Re: [csswg-drafts] [css-nesting-1] Yet another nesting proposal (Option 5) (#7970)

I think option 5 has an issue with progressive enhancement. 

With options 3 and 4 I can write rules for the nesting root, then add on a nesting block. Then, for browsers that do not support nesting I have to repeat the nesting block in an `@supports not ???` rule (where ??? is whatever syntax we choose for detecting nesting). 

But with option 5 I have to repeat both the nesting root and the nesting block in my `@supports not ???` rule, because older browsers will ignore the `@nest` rule entirely.

Not a big issue long-term, but annoying for the transition.

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


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

Received on Monday, 5 December 2022 05:21:42 UTC