- From: Michael C. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Nov 2021 12:03:56 +0000
- To: public-css-archive@w3.org
@tabatkins Seeing as you've been the most vocal opponent of bracketed nesting (and I don't blame you in the slightest), I'd be interested to hear your thoughts on my last-minute idea, quoted below... it seems to have gotten missed in all the hubbub. Thanks!
> I'd be happy with that solution as well. Just to make sure we cover all bases though, I've got one more syntax proposal that sort of builds on that, but also uses a pattern I haven't seen anyone raise yet. It avoids double-indenting _and_ allows bulk-nesting in one diabolical swoop:
>
> ```css-scss
> ul.parent {
> padding-left: 0;
> }, @nest { // or perhaps [ or (
>
> // ul.parent li.child
> li.child {
> list-style-type: none;
> }
>
> // .wysiwyg ul.parent
> .wysiwyg & {
> list-style-type: initial;
> }
> }
> ```
--
GitHub Notification of comment by proimage
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4748#issuecomment-963083896 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 12:03:58 UTC