W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-nesting] A proposal, using a pseudo-class (#5491)

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Sun, 13 Sep 2020 10:07:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-691650450-1599991657-sysbot+gh@w3.org>
Regarding `:and()` vs. `:and`, pseudo-classes only have brackets when they take parameters, independent from whether they return a selector or not, and once `:and` can take parameters a version with brackets can still be added. With [`:host`/`:host()`](https://drafts.csswg.org/css-scoping/#host-selector) there is also an example where that's the case.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5491#issuecomment-691650450 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 13 September 2020 10:07:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:16 UTC