Re: [csswg-drafts] [css-nesting-1] Move to FPWD (#7796)

Btw, I do think there are some serious problems with the syntax that need to be worked out, and I'd like to see that marked clearly as an issue in the draft. I'll file a follow-up issue on it later, but discussing it with @LeaVerou, the short version is:
* incompatibility with syntax outside of nested context, and with syntax within `@scope`, invites a lot of copy-paste errors
* the requirement to include `&` within all the selectors in a list even beyond disambiguation (instead of allowing relative selectors) is annoying to type, easy to forget, and makes automated conversion of existing code much more difficult (requires selector parsing rather than regex).

So even if we're not adopting the nested-bracket syntax proposed in #4748, I think we still have more design work to do here.

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


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

Received on Wednesday, 28 September 2022 05:53:26 UTC