[csswg-drafts] [mediaqueries-5] redundant media feature (#5359)

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

== [mediaqueries-5] redundant media feature ==
Given that we now have `prefers-contrast: high | low` and `prefers-color-scheme: light | dark`, do we still need `light-level`?

It seems to me that user agents could react to the situations described by `light-level: washed` and `light-level: dim` by setting an appropriate combination of values through `prefers-contrast` and `prefers-color-scheme` (possibly giving the user a choice as to how they want the mapping to work).

In that case, we wouldn't really need the `light-level` at all, would we?

In fact, macOS does something that isn't quite that, but goes in that direction: in addition to its light and dark modes, it has an auto mode that picks between light or dark depending on the time of the day. Maybe instead of the `light-level` feature, we could add a Note indicating that UAs are may (should?) infer preferences like `prefers-contrast` or `prefers-color-scheme` based on environmental factors, such as light levels, time of the day, etc.

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

Received on Friday, 24 July 2020 13:17:09 UTC