File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -154,11 +154,6 @@ Cascade Sorting Order</h3>
154
154
then the declaration with the fewest generational hops
155
155
between the ancestor/descendant element pair wins.
156
156
157
- If multiple such pairs are represented,
158
- their [=scoping proximity=] weights are compared
159
- from innermost scoping relationship to outermost scoping relationship
160
- (with any missing pairs weighted as infinity).
161
-
162
157
<dt id='cascade-order'> Order of Appearance
163
158
<dd>
164
159
The last declaration in document order wins.
@@ -321,6 +316,9 @@ Effects of ''@scope''</h4>
321
316
selectors within an ''@scope'' rule
322
317
do not acquire the specificity of any parent selector(s) in the ''@scope'' prelude.
323
318
319
+ Note: For [[#scope-scope|nested @scope rules]] ,
320
+ only the innermost ''@scope'' matters for determining [=scoping proximity=] .
321
+
324
322
<div class=example>
325
323
The following selectors have the same specificity (0,0,1):
326
324
You can’t perform that action at this time.
0 commit comments