W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

[csswg-drafts] [css-color-adjust-1] Add 'color-scheme: auto'? (#3849)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Apr 2019 23:34:14 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-434998261-1555630453-sysbot+gh@w3.org>
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-adjust-1] Add 'color-scheme: auto'? ==
Rune's version of color-scheme gives "light" as the initial value, and assumes "light" if the user doesn't express a preference.

This is definitely what's required for web compat in general, but there are still minority user agents that do *not* render with a "light" style by default (and just accept that they're not always web-compatible).

I propose adding an "auto" value to 'color-scheme' to act as an initial value instead, indicating that the author has no idea what color schemes are, and so the UA should use the legacy "default" color scheme ("light" for maximum web-compatibility).  This is currently in the spec, so you can see what it looks like.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3849 using your GitHub account
Received on Thursday, 18 April 2019 23:34:15 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:07 UTC