File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 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>
147147
148148 <dt id='cascade-specificity'> Specificity
149149 <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.
153156
154157 <dt id='cascade-proximity'> <dfn>Scope Proximity</dfn>
155158 <dd>
You can’t perform that action at this time.
0 commit comments