File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,12 @@ Cascade Sorting Order</h3>
147
147
148
148
<dt id='cascade-specificity'> Specificity
149
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.
150
+ The <a href="https://www.w3.org/TR/selectors/#specificity">Selectors module</a> [[!SELECT]]
151
+ describes how to compute the specificity of a selector.
152
+
153
+ When comparing declarations from two style rules,
154
+ the declaration belonging to
155
+ the style rule with the highest specificity wins.
153
156
154
157
<dt id='cascade-proximity'> <dfn>Scope Proximity</dfn>
155
158
<dd>
You can’t perform that action at this time.
0 commit comments