W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-nesting] Conflicts in proposal with Sass/Less

From: Sultan Tarimo via GitHub <sysbot+gh@w3.org>
Date: Thu, 19 Jul 2018 20:57:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-406412028-1532033862-sysbot+gh@w3.org>
Would it be possible to satisfy the ambiguity of the BEM case with a function variant.

```
.a, b {
        &(--c) {}
        & --d {}
}
``` 

yeilds

```
:matches(.a--c, .b--c),  :matches(.a, .b) c {}
```

-- 
GitHub Notification of comment by thysultan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2937#issuecomment-406412028 using your GitHub account
Received on Thursday, 19 July 2018 20:57:45 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 19 July 2018 20:57:46 UTC