- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 28 Jan 2019 00:01:54 +0000
- To: public-css-archive@w3.org
> ```css > @(body aside.left, body aside.right ) { > . { /* point should mean "current selector full path itself" */ > color:red; > } > span.my-sub-span { > color red > } > } > ``` You can already write this in my proposal as: ```css body aside.left, body aside.right { & { color: red; } & span.my-sub-span { color: red; } } ``` Your second example can also be written in my proposal just fine. (I'm not going to show it rewritten, because it's long and doesn't demonstrate anything new, just more nesting.) The only exception is that `@media` can't be nested into style rules yet, but that's a separate proposal. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2909#issuecomment-457966582 using your GitHub account
Received on Monday, 28 January 2019 00:02:07 UTC