- From: Johannes Odland via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Nov 2021 07:21:11 +0000
- To: public-css-archive@w3.org
I agree with @tabatkins. Wrapping nested properties in brackets will add one extra level of indentation per nesting layer. This will add up to too many layers of indentation and will make our stylesheets hard to read. We've been using nesting through postcss for years, and I much prefer the previous syntax. Are you sure the 'dual' syntax is too hard for authors? It's in use by a large number of authors already, without causing issues. Most nested rules are simply prefixed with `&` and `@nest` is only needed if you need nesting as a descendant. Shouldn't users of the existing syntax count for something? https://www.npmjs.com/package/postcss-nesting I also wonder how will this new syntax will work with nested media-queries. Will they have to be wrapped in an extra layer of brackets as well? -- GitHub Notification of comment by johannesodland Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4748#issuecomment-962876273 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 8 November 2021 07:21:14 UTC