From 3f7a08cda0acd234ea561ca9f40630388daf0bb2 Mon Sep 17 00:00:00 2001 From: fantasai Date: Fri, 12 Mar 2021 18:15:53 -0800 Subject: [PATCH] [css-cascade-5] Put preshint rules into their own author layer. #5856 --- css-cascade-5/Overview.bs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css-cascade-5/Overview.bs b/css-cascade-5/Overview.bs index c95140837d4..9f4dcb3108a 100644 --- a/css-cascade-5/Overview.bs +++ b/css-cascade-5/Overview.bs @@ -1413,18 +1413,18 @@ Precedence of Non-CSS Presentational Hints for example the bgcolor attribute or <{s}> element in [[HTML]]. All document language-based styling must be translated to corresponding CSS rules and either enter the cascade as [=UA-origin=] rules or - be treated as [=author-origin=] rules with a specificity of zero - placed at the start of the [=author style sheet=]. + be treated as [=author-origin=] rules in their own [=cascade layer=] + placed as the lowest [=layer=] in the [=author origin=]. A document language may define whether such a presentational hint enters the [=cascade=] as [=UA-origin=] or [=author-origin=]; if so, the UA must behave accordingly. - For example, [[SVG11]] maps its presentation attributes into the author level. + For example, [[SVG11]] maps its presentation attributes into the [=author origin=]. Note: Presentational hints entering the [=cascade=] as [=UA-origin=] rules can be overridden by [=author-origin=] or [=user-origin=] styles. Presentational hints entering the cascade as [=author-origin=] rules can be overridden by [=author-origin=] styles, - but not by non-important [=user-origin=] styles. + but not by non-[=important=] [=user-origin=] styles. Host languages should choose the appropriate origin for presentational hints with these considerations in mind.