Skip to content

Commit 6de54ec

Browse files
authored
[css-cascade] Tweak wording for Specificity (#11445)
Fixes #11305
1 parent f07d4fd commit 6de54ec

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

css-cascade-6/Overview.bs

+6-3
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)