[mediaqueries-5] duplication of forced-colors: active and prefers-contrast: forced
Breaking this discussion out of the large mega thread in #2943.
I believe these statements are true.
- AFAICT,
forced-colors: active and prefers-contrast: forced are exact duplications of each other.
- I am only aware of one implementation of forced colors: on Windows.
forced-colors is already implemented in Edge (and possibly in the Chrome HC extension.)
Opinions:
- I'm not sure why two properties are needed. I think I'd heard both that the
forced value is intended as a replacement for the forced-colors media feature, and I've also heard that these are intended to be complementary and co-exist. Which is it, and why?
- Since there is only one implementation (Windows), I worry that shoehorning a single
forced value into prefers-constrast is unnecessarily limiting. Another platform (iOS, Mac, ChromeOS, Android, Linux) may support a different forced mode in the future, and forced-colors would be easier to extend.
Editorial: prefers-contrast: forced cross-link to forced-colors: active an confirms the duplication. If both are kept, the reciprocal link and explanatory prose should be added, too.
[mediaqueries-5] duplication of
forced-colors: activeandprefers-contrast: forcedBreaking this discussion out of the large mega thread in #2943.
I believe these statements are true.
forced-colors: activeandprefers-contrast: forcedare exact duplications of each other.forced-colorsis already implemented in Edge (and possibly in the Chrome HC extension.)Opinions:
forcedvalue is intended as a replacement for theforced-colorsmedia feature, and I've also heard that these are intended to be complementary and co-exist. Which is it, and why?forcedvalue intoprefers-constrastis unnecessarily limiting. Another platform (iOS, Mac, ChromeOS, Android, Linux) may support a different forced mode in the future, andforced-colorswould be easier to extend.Editorial:
prefers-contrast: forcedcross-link toforced-colors: activean confirms the duplication. If both are kept, the reciprocal link and explanatory prose should be added, too.