Skip to content

Commit b51534e

Browse files
committed
[css-color-adjust-1] Add in Amelia's proposal. Mark alternatives as issue #4175.
1 parent 5dc6ee7 commit b51534e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

css-color-adjust-1/Overview.bs

+15
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@ Properties Affected by Forced Colors Mode {#forced-colors-properties}
386386
text-shadow: none !important;
387387
</pre>
388388

389+
<div class="issue">
390+
<a href="https://github.com/w3c/csswg-drafts/issues/4175">Issue 4175</a>
391+
<dl>
392+
<dt>Option A<dd>
389393
For elements that have a background specified in the UA style sheet,
390394
the background color is forced via:
391395
<pre>
@@ -396,6 +400,17 @@ Properties Affected by Forced Colors Mode {#forced-colors-properties}
396400
by forcing all channels other than alpha
397401
to match ''Canvas''.
398402

403+
<dt>Option B<dd>
404+
Based on its resulting [=computed value|computed=] 'color' value,
405+
the [computed|used] 'background-color' of an element is forced
406+
by matching all channels other than alpha
407+
to the appropriate forced background color;
408+
which should be the corresponding system background color
409+
if 'color' is a [=system color=],
410+
and ''Canvas'' otherwise.
411+
</dl>
412+
</div>
413+
399414
Additionally, on <em>on user input controls (except button-like controls) only</em>:
400415
<pre>
401416
background-image: none !important;

0 commit comments

Comments
 (0)