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

I'm in favor of moving to FPWD. It's clear we have consensus on moving forward with Nesting in general.

I do think there are some serious problems with the syntax that need to be worked out, though, and I'd like to see this marked clearly as an issue in the draft. I'll file a follow-up issue on it, 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, and
* the requirement to include `&` within all the selectors in a list (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 I think we have some more work to do here, and I'd like to make that clear in the FPWD. That said, I support FPWD.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7796#issuecomment-1260412743 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:37:57 UTC