[css-cascade] Clarify the specificity of a declaration. #11305
Open
Description
Every Cascade spec level from 3 to 6 contains the same text for the specificity of a declaration - "Each declaration has the same specificity as the style rule it appears in."
But as far as I can tell, nothing says what the specificity of a rule is. After all what is the specificity of this rule?
p, #x, .y { color: red }
I think the text should say something like "Each declaration has the same specificity as the highest specificity matching selector belonging to the rule it appears in."