File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,13 +127,14 @@ Cascade Sorting Order</h3>
127127 For the purpose of this step,
128128 any declaration not assigned to an explicit layer is added to an implicit final layer.
129129
130- Cascade layers (like declarations) are ordered by order of appearance.
130+ Cascade layers (like declarations) are sorted by order of appearance,
131+ see [[#layer-ordering]] .
131132 When comparing declarations that belong to different layers,
132- then for [=normal=] rules the declaration whose [=cascade layer=] is last wins,
133- and for [=important=] rules the declaration whose [=cascade layer=] is first wins.
133+ then for [=normal=] rules the declaration whose [=cascade layer=] is latest in the layer order wins,
134+ and for [=important=] rules the declaration whose [=cascade layer=] is earliest wins.
134135
135- Note: This follows the same logic used for layering [=normal=] and [=important=] [=origins=] ,
136- so that the ''!important'' flag maintains the same “override” purpose in both settings.
136+ Note: This follows the same logic used for precedence of [=normal=] and [=important=] [=origins=] ,
137+ thus the ''!important'' flag maintains the same “override” purpose in both settings.
137138
138139 <dt id='cascade-proximity-strong'> <dfn>Strong Scoping Proximity</dfn>
139140 <dd>
You can’t perform that action at this time.
0 commit comments