Skip to content

Commit 6c9ee90

Browse files
committed
[css-color-adjust-1] Add more properties to forced color adjustment. #5987 #5873
1 parent e620822 commit 6c9ee90

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

css-color-adjust-1/Overview.bs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,10 @@ Properties Affected by Forced Colors Mode {#forced-colors-properties}
346346
<li>'scrollbar-color'
347347
<li>'-webkit-tap-highlight-color'
348348
<li>'background-color'
349+
<li>'caret-color'
350+
<li>'flood-color'
351+
<li>'lighting-color'
352+
<li>'stop-color'
349353
</ul>
350354

351355
if its [=computed value=] is a color other than a [=system color=],
@@ -397,6 +401,7 @@ Properties Affected by Forced Colors Mode {#forced-colors-properties}
397401
unless the original value contains a ''url()'' function
398402
* 'color-scheme' computes to ''light dark''
399403
* 'scrollbar-color' computes to ''scrollbar-color/auto''
404+
* 'accent-color' computes to ''accent-color/auto''
400405

401406
UAs may further tweak these <a>forced colors mode</a> heuristics
402407
to provide better user experience.
@@ -555,8 +560,11 @@ Changes {#changes}
555560
Changes since the <a href="https://www.w3.org/TR/2020/WD-css-color-adjust-1-20201109/">9 NOvember 2020 Working Draft</a>:
556561

557562
<ul>
558-
<li>Added 'scrollbar-color' reset to [=forced colors mode=].
559-
(<a href="https://github.com/w3c/csswg-drafts/issues/5778">Issue 5778</a>)
563+
<li>Added 'scrollbar-color', 'caret-color', 'flood-color', 'lighting-color', 'stop-color', and 'accent-color'
564+
resets to [=forced colors mode=].
565+
(<a href="https://github.com/w3c/csswg-drafts/issues/5778">Issue 5778</a>,
566+
<a href="https://github.com/w3c/csswg-drafts/issues/5873">Issue 5873</a>,
567+
<a href="https://github.com/w3c/csswg-drafts/issues/5987">Issue 5987</a>)
560568
</ul>
561569

562570

0 commit comments

Comments
 (0)