Re: [csswg-drafts] [css-specificity] Add specificity property modifier (replace !important) (#3890)

For general adjustment of a *selector's* specificity, that's the planned additional arguments to [`:where()`](https://drafts.csswg.org/selectors/#zero-matches).

!important isn't technically part of specificity; it controls a declaration's [cascade origin](https://drafts.csswg.org/css-cascade/#cascading-origins). [Custom Cascade Origins](https://github.com/w3c/csswg-drafts/issues/4470) are the current plan to allow adjusting that aspect; the WG accepted work on it at the last f2f, and we should have a good spec out of it soon, once we resolve a few issues.

I'll go ahead and close this issue, then, since #4470 now covers the topic.

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

Received on Thursday, 9 April 2020 19:26:36 UTC