@@ -359,14 +359,11 @@ Forced Color Schemes: the 'forced-color-adjust' property {#forced}
359359Properties Affected by Forced Colors Mode {#forced-colors-properties}
360360-----------------------------------------
361361
362- When <a>forced colors mode</a> is active
363- and 'forced-color-adjust' is ''forced-color-adjust/auto'' (see below),
364- colors must be force-adjusted to the user’s preferred color palette.
362+ When <a>forced colors mode</a> is active
363+ and 'forced-color-adjust' is ''forced-color-adjust/auto'' (see below) on an element ,
364+ colors on the element must be force-adjusted to the user’s preferred color palette.
365365
366- Any [=author origin=] or [=animation origin=] declaration
367- of the following properties on any element
368- (including any declarations representing a non-CSS presentational hint)
369- is rewritten to specify ''revert'' :
366+ For each of the following properties:
370367
371368 <ul>
372369 <li> 'color'
@@ -383,29 +380,32 @@ Properties Affected by Forced Colors Mode {#forced-colors-properties}
383380 <li> 'text-shadow'
384381 </pre>
385382
386- Additionally, 'background-image' , unless the value is a 'url()' function.
383+ if the [=computed value=] would be a color other than a [=system color=] ,
384+ it must instead compute to an appropriate [=system color=] ,
385+ as chosen by the user agent.
386+
387+ For this purpose, any color value with the capability of "fallback" to another color,
388+ such as the ''color()'' function,
389+ must be allowed to fall back to a system color if specified.
390+
391+ The "appropriate system color" for 'background-color'
392+ must be matched to 'color' :
393+ if 'color' is a [=system color=] ,
394+ 'background-color' must be the opposite color
395+ from the [=system color pairings=]
396+ (taking ''canvastext'' if 'color' is ''canvas'' ,
397+ and ''canvas'' if 'color' is ''graytext'' ).
398+ It must also take its alpha channel from the original 'background-color' [=computed value=] .
399+
400+ Additionally, 'background-image' is reset to ''none'' unless the original value is a 'url()' function.
387401
388402 'color-scheme' on the element must compute to ''light dark'' ,
389403 to allow the user preference (see [[#forced|above]] )
390404 to be respected.
391405
392- Based on the resulting [=computed value|computed=] 'color' value,
393- the [computed|used] 'background-color' of an element is forced
394- by matching all channels other than alpha
395- to the appropriate forced background color;
396- which should be the corresponding system background color
397- if 'color' is a [=system color=]
398- (see [[!CSS-COLOR-4]] ),
399- and ''Canvas'' otherwise.
400-
401- UA may further tweak these <a>forced colors mode</a> heuristics
406+ UAs may further tweak these <a>forced colors mode</a> heuristics
402407 to provide better user experience.
403408
404- Note: See [[CSS-CASCADE-4]] for information about
405- [=cascade origins=] ,
406- [[css-cascade-4#preshint|non-CSS presentational hints]] ,
407- and the ''revert'' keyword.
408-
409409Opting Out of a Forced Color Scheme: the 'forced-color-adjust' property {#forced-color-adjust-prop}
410410-----------------------------------------------------------------
411411
0 commit comments