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

[csswg-drafts] [mediaqueries] In-gamut media query (#5045)

From: Lea Verou via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 May 2020 16:50:06 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-612748194-1588697405-sysbot+gh@w3.org>
LeaVerou has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries] In-gamut media query ==
We currently have the [`color-gamut` media query](https://drafts.csswg.org/mediaqueries-4/#color-gamut). While generally useful, this is a rather crude measure of the output device's gamut, and currently only supports RGB color spaces. Since there is no ordering of gamuts, we also cannot really have `min/max-color-gamut` either, either it's "approximately" P3 (whatever that means), or it's not.

I would like a to propose an `in-gamut: <color>` media feature, that supports any CSS color, and matches if that particular color is within the output device's gamut. This will enable authors to more accurately determine the gamut of the output device, based on what matters in their own particular use cases.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5045 using your GitHub account
Received on Tuesday, 5 May 2020 16:50:08 UTC

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