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

> A new pseudo-class (name TBB, perhaps :filter()?) that works exactly like :matches() but with zero specificity. That way, authors have control over the specificity of their rules, and can choose what is best for their use case.

This is a good proposition because it does what `!important` is sensibly used for, only in the opposite direction.

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

Received on Monday, 25 September 2017 08:40:43 UTC