[csswg-drafts] [mediaqueries-5] Wording in spec for preference override for colorScheme unclear how it affects used color scheme (#13303)

JoshTumath has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries-5] Wording in spec for preference override for colorScheme unclear how it affects used color scheme ==
After reading this in the spec...

> If an override is set for this preference:  
> * The user agent MUST also use this override when calculating the [used color scheme](https://drafts.csswg.org/css-color-adjust-1/#used-color-scheme).

...I interpreted that as meaning the used color scheme will _always_ be set to whatever preference override is set in the `PreferenceManager`.

I chatted with @lukewarlow about it and he explained that it should only affects where the [determine the used color scheme](https://drafts.csswg.org/css-color-adjust-1/#determine-the-used-color-scheme) algorithm checks the preference; it does not override the entire algorithm.

I think it would be help to clarify that in the wording of the spec.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13303 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 6 January 2026 17:19:47 UTC