- From: nightpool via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Sep 2022 17:04:30 +0000
- To: public-css-archive@w3.org
My confusion/concern with the nesting syntax was always the lack of clarity caused by having "anonymous" blocks that just added extra braces for no clear-to-the-user purpose. I think that if the poll had included an option that required `@nest` before every set of brackets, opinions would have been less decisive. Along with what @fantasai already said about & being implicit, what would people think about a proposal that supported this example: ```css figure { margin: 0; @nest { > figcaption { background: lightgray; @nest { > p { font-size: .9rem; } } } } } ``` it still has the double-indent issue, but I think it resolves a lot of the clarity/ambiguity issues that really turned me against the brackets proposal initially. -- GitHub Notification of comment by nightpool Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4748#issuecomment-1235727067 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 2 September 2022 17:04:32 UTC