Skip to content

Commit 3f7a08c

Browse files
committed
[css-cascade-5] Put preshint rules into their own author layer. w3c#5856
1 parent bf1c63e commit 3f7a08c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

css-cascade-5/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,18 +1413,18 @@ Precedence of Non-CSS Presentational Hints</h3>
14131413
for example the <code>bgcolor</code> attribute or <{s}> element in [[HTML]].
14141414
All document language-based styling must be translated to corresponding CSS rules
14151415
and either enter the cascade as [=UA-origin=] rules or
1416-
be treated as [=author-origin=] rules with a specificity of zero
1417-
placed at the start of the [=author style sheet=].
1416+
be treated as [=author-origin=] rules in their own [=cascade layer=]
1417+
placed as the lowest [=layer=] in the [=author origin=].
14181418
A document language may define whether such a presentational hint
14191419
enters the [=cascade=] as [=UA-origin=] or [=author-origin=];
14201420
if so, the UA must behave accordingly.
1421-
For example, [[SVG11]] maps its presentation attributes into the author level.
1421+
For example, [[SVG11]] maps its presentation attributes into the [=author origin=].
14221422

14231423
Note: Presentational hints entering the [=cascade=] as [=UA-origin=] rules
14241424
can be overridden by [=author-origin=] or [=user-origin=] styles.
14251425
Presentational hints entering the cascade as [=author-origin=] rules
14261426
can be overridden by [=author-origin=] styles,
1427-
but not by non-important [=user-origin=] styles.
1427+
but not by non-[=important=] [=user-origin=] styles.
14281428
Host languages should choose the appropriate origin for presentational hints
14291429
with these considerations in mind.
14301430

0 commit comments

Comments
 (0)