Re: [csswg-drafts] [selectors] Functional pseudo-class like :matches() with 0 specificity

Speaking about current specificity hacks, in CSS Selectors 4 there is already a way to build complex selectors with the specificity of a single class using nested `:not()` pseudo-classes ([proposed](http://kizu.ru/en/fun/controlling-the-specificity/) by @kizu and proven to work in WebKit). Maybe it could be useful for reference?

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

Received on Friday, 15 September 2017 19:44:19 UTC