[csswg-drafts] [css-color-adjust-1] Limits on the `only` color scheme keyword (#3881)

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

== [css-color-adjust-1] Limits on the `only` color scheme keyword ==
Regarding the [`color-scheme` property](https://drafts.csswg.org/css-color-adjust-1/#color-scheme-prop) and its associated meta tag.  

In the discussion of #3807, there was a lot of debate about acceptable use of the `only` keyword in the property.  We made a temporary resolution to adopt the property in the Editor's Draft, with an open issue.  There's currently an [inline issue](https://drafts.csswg.org/css-color-adjust-1/#issue-daa039ca) in the spec, but this is opening it up for continued discussion.

The story so far:

The `only` keyword, as defined [in the original proposal](https://lilles.github.io/specs/supported-color-schemes.html#supported-color-schemes), allows website authors to override the user preference expressed in browser/OS settings, and instead directly ask the user agent for a specific color scheme.

Some WG members are concerned about allowing authors to override user preferences.  Other WG members are concerned that authors will assume that an `only` request for a specific color scheme would _always_ be respected, and won't design for user agents that don't have that color scheme (e.g., `dark`) available.

The compromise currently in the spec is to only allow `only` in combination with `light`, and to require user agents to have a light theme available.

I'll leave a separate comment with my opinions.


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

Received on Saturday, 27 April 2019 23:55:45 UTC