pub fn specificity(selector: &str) -> SpecificityExpand description
The specificity of one selector arm.
A functional pseudo-class counts as one class and its argument is not read.
CSS says :not(.a.b) takes the specificity of its strongest argument, so
this undercounts a compound inside one – which puts the error on the side
of reporting a remedy as too weak rather than accepting one that is.