Re: [csswg-drafts] [mediaqueries] Effect of <meta name=color-scheme> on img and video sources (#13377)

@lukewarlow that was discussed extensively, see the minutes. The TLDR is that:

 * The current `(prefers-color-scheme)` behavior already doesn't represent the user preference (it's influenced by the embedder, etc).
 * Most (all?) existing `(prefers-color-scheme)` usage should convert to the hypothetical new media query. That includes tons of existing content.
 * If we were starting clean, a `(prefers-color-scheme)` that represents just the browser preference, and a `(color-scheme)` that represents the color scheme, inc

So it seemed preferable to add a more explicit media query for the "top level page's preferred color scheme" and keeping all existing code working than flipping stuff around.

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13377#issuecomment-4173519813 using your GitHub account


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

Received on Wednesday, 1 April 2026 23:17:43 UTC