W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [mediaqueries-5] UA guidance on light vs no-preference (#3857)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 May 2020 22:44:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-631126143-1589928274-sysbot+gh@w3.org>
Agenda+ to discuss dropping the "no-preference" value from 'prefers-color-scheme'. At this point, every single browser only exposes a bi-state, matching either `light` or `dark`. Users don't have a way to distinguish between "don't care" and "I really want a light page", and we shouldn't pretend that they do by defining a value for it.

If a future browser *does* want to expose that difference, the web will have already frozen to treating `light` as meaning `default`, and we'll have to expose the "I really want light" as a different value, like `bright`.

(This is a bad situation and I'm quite annoyed we ended up like this, but c'est la vie.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3857#issuecomment-631126143 using your GitHub account
Received on Tuesday, 19 May 2020 22:44:37 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:06 UTC