Skip to content

Commit 9a8e2b9

Browse files
committed
[css-color-adjust-1] Resolved on option B. w3c#4175
1 parent 02259a6 commit 9a8e2b9

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

css-color-adjust-1/Overview.bs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -386,30 +386,13 @@ 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>
393-
For elements that have a background specified in the UA style sheet,
394-
the background color is forced via:
395-
<pre>
396-
background-color: revert !important;
397-
</pre>
398-
399-
Whereas for all other elements, the 'background-color' is instead adjusted
400-
by forcing all channels other than alpha
401-
to match ''Canvas''.
402-
403-
<dt>Option B<dd>
404389
Based on its resulting [=computed value|computed=] 'color' value,
405390
the [computed|used] 'background-color' of an element is forced
406391
by matching all channels other than alpha
407392
to the appropriate forced background color;
408393
which should be the corresponding system background color
409394
if 'color' is a [=system color=],
410395
and ''Canvas'' otherwise.
411-
</dl>
412-
</div>
413396

414397
Additionally, on <em>on user input controls (except button-like controls) only</em>:
415398
<pre>

0 commit comments

Comments
 (0)