@@ -1458,9 +1458,9 @@ color-gamut</h3>
14581458 </pre>
14591459
14601460 The 'color-gamut' media feature describes the approximate range of colors
1461- that are supported by the browser and display device.
1462- That is, if the browser receives content with colors in the specified space
1463- it can cause the display to render the appropriate color,
1461+ that are supported by the UA and output device.
1462+ That is, if the UA receives content with colors in the specified space
1463+ it can cause the output device to render the appropriate color,
14641464 or something appropriately close enough.
14651465
14661466 Note: The query uses approximate ranges for a few reasons.
@@ -1476,25 +1476,31 @@ color-gamut</h3>
14761476 tagged with color profiles,
14771477 to the user.
14781478
1479- Values are defined as:
1480-
14811479 <dl dfn-type=value dfn-for="@media/color-gamut">
14821480 <dt> <dfn>srgb</dfn>
14831481 <dd>
1484- The value ''srgb'' represents a display that corresponds to the sRGB Color Space [[!SRGB]] .
1482+ The output device can support approximately the sRGB gamut [[!SRGB]] or more .
14851483
1486- It is expected that the vast majority of color displays
1484+ Note: It is expected that the vast majority of color displays
14871485 will be able to return true to a query of this type.
14881486
14891487 <dt> <dfn>p3</dfn>
14901488 <dd>
1491- The value ''p3'' represents a display that can handle colors in approximately the gamut
1492- specified by the DCI P3 Color Space.
1489+ The output device can support approximately the gamut
1490+ specified by the DCIP3 Color Space or more.
1491+
1492+ Note: The ''p3'' gamut is larger than and includes the ''srgb'' gamut.
1493+
1494+ Issue: Add ref for DCIP3.
14931495
14941496 <dt> <dfn>rec2020</dfn>
14951497 <dd>
1496- The value ''rec2020'' represents a display that can handle colors in approximately the gamut
1497- specified by the ITU-R Recommendation BT.2020 Color Space.
1498+ The output device can support approximately the gamut
1499+ specified by the ITU-R Recommendation BT.2020 Color Space or more.
1500+
1501+ Note: The ''rec2020'' gamut is larger than and includes the ''p3'' gamut.
1502+
1503+ Issue: Add ref for BT.2020.
14981504 </dl>
14991505
15001506 <div class="example">
@@ -1506,6 +1512,26 @@ color-gamut</h3>
15061512 </pre>
15071513 </div>
15081514
1515+ Note: An output device can return true for multiple values of this media feature,
1516+ if its full output gamut is large enough,
1517+ or one gamut is a subset of another supported gamut.
1518+ As a result,
1519+ this feature is best used in an "ascending" fashion--
1520+ set a base value when ''(color-gamut: srgb)'' is true,
1521+ then override it if ''(color-gamut: p3)'' is true, etc.
1522+
1523+ Note: Some output devices,
1524+ such as monochrome displays,
1525+ cannot support even the ''srgb'' gamut.
1526+ To test for these devices,
1527+ you can use this feature in a negated boolean-context fashion:
1528+ ''not (color-gamut)'' .
1529+
1530+ Issue: Or should we add a value specifically for the "less than sRGB" case,
1531+ like <css> narrow</css> ?
1532+ It would have to work differently than the others,
1533+ and only match if the gamut was extra-low.
1534+
15091535
15101536
15111537<!--
0 commit comments