We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f07d4fd commit 6de54ecCopy full SHA for 6de54ec
css-cascade-6/Overview.bs
@@ -147,9 +147,12 @@ Cascade Sorting Order</h3>
147
148
<dt id='cascade-specificity'>Specificity
149
<dd>
150
- The <a href="https://www.w3.org/TR/selectors/#specificity">Selectors module</a> [[!SELECT]] describes how to compute the specificity of a selector.
151
- Each declaration has the same specificity as the style rule it appears in.
152
- The declaration with the highest specificity wins.
+ The <a href="https://www.w3.org/TR/selectors/#specificity">Selectors module</a> [[!SELECT]]
+ describes how to compute the specificity of a selector.
+
153
+ When comparing declarations from two style rules,
154
+ the declaration belonging to
155
+ the style rule with the highest specificity wins.
156
157
<dt id='cascade-proximity'><dfn>Scope Proximity</dfn>
158
0 commit comments