Skip to content

Commit b3d692e

Browse files
committed
[css-color-adjust] Per WG resolution, specify that forced colors mode also adjust 'color-scheme' to match user preference. #3885
1 parent 4a0346b commit b3d692e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css-color-adjust-1/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,10 @@ Properties Affected by Forced Colors Mode {#forced-colors-properties}
389389
Additionally, on <em>on user input controls (except button-like controls) only</em>,
390390
'background-image'.
391391

392+
'color-scheme' on the element must compute to ''light dark'',
393+
to allow the user preference (see [[#forced|above]])
394+
to be respected.
395+
392396
Based on the resulting [=computed value|computed=] 'color' value,
393397
the [computed|used] 'background-color' of an element is forced
394398
by matching all channels other than alpha

0 commit comments

Comments
 (0)