Skip to content

Commit 56d726c

Browse files
committed
[css-cascade-6][editorial] sync
1 parent 5560384 commit 56d726c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

css-cascade-6/Overview.bs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)