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

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