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

Agreed. This should start by canceling specificity entirely, so you can add filters to a selector without hecking up your cascade, and possibly also have a specificity control on it. More heuristics and complications defeat the original point entirely.

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

Received on Friday, 29 September 2017 17:23:14 UTC