Skip to content

Commit b8cb4cb

Browse files
committed
[css-color-4][mediaqueries] Use (new) normative reference for Display P3, #7036
1 parent 86be6ab commit b8cb4cb

File tree

3 files changed

+28
-10
lines changed

3 files changed

+28
-10
lines changed

css-color-4/Overview.bs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ WPT Display: open
5959
"journal": "Journal of Graphics, GPU and Game tools. 1 (1): 3–17 ",
6060
"date": "1996",
6161
"href": "http://alvyray.com/Papers/CG/HWB_JGTv208.pdf"
62+
},
63+
"Display-P3": {
64+
"title": "Display P3",
65+
"authors": "Apple, Inc",
66+
"date": "2022-02",
67+
"href": "https://www.color.org/chardata/rgb/DisplayP3.xalter"
6268
}
6369
}
6470
</pre>
@@ -3659,7 +3665,7 @@ https://github.com/w3c/csswg-drafts/issues/4621
36593665
Predefined Color Spaces</h2>
36603666

36613667
CSS provides several predefined color spaces
3662-
including ''display-p3'' [[!DCI-P3]],
3668+
including ''display-p3'' [[!Display-P3]],
36633669
which is a wide gamut space typical of current wide-gamut monitors,
36643670
''prophoto-rgb'', widely used by photographers
36653671
and ''rec2020'' [[!Rec.2020]],
@@ -3962,10 +3968,10 @@ Predefined Color Spaces</h2>
39623968
<dl dfn-type=value dfn-for="color()">
39633969
<dt><dfn>display-p3</dfn>
39643970
<dd>
3965-
The ''display-p3'' color space accepts three numeric parameters,
3971+
The ''display-p3'' [[!Display-P3]] color space accepts three numeric parameters,
39663972
representing the red, green, and blue channels of the color.
39673973
In-gamut colors have all three components in the range [0, 1].
3968-
It uses the same primary chromaticities as [[!DCI-P3]],
3974+
It uses the same primary chromaticities as [[DCI-P3]],
39693975
but with a [=D65=] whitepoint, and the same transfer curve as sRGB.
39703976

39713977
Modern displays, TVs, laptop screens and phone screens

mediaqueries-4/Overview.bs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ spec:css-conditional-3; type:at-rule; text:@media
6363
"href": "https://www.itu.int/rec/R-REC-BT.2020/en",
6464
"title": "Parameter values for ultra-high definition television systems for production and international programme exchange",
6565
"date": "October 2015"
66+
},
67+
"Display-P3": {
68+
"title": "Display P3",
69+
"authors": "Apple, Inc",
70+
"date": "2022-02",
71+
"href": "https://www.color.org/chardata/rgb/DisplayP3.xalter"
6672
}
6773
}
6874
</pre>
@@ -1628,7 +1634,7 @@ Color Display Quality: the 'color-gamut' feature</h3>
16281634
<dt><dfn>p3</dfn>
16291635
<dd>
16301636
The UA and output device can support approximately the gamut
1631-
specified by the DCI P3 Color Space or more.
1637+
specified by the Display P3 [[Display-P3]] Color Space or more.
16321638

16331639
Note: The ''p3'' gamut is larger than and includes the ''srgb'' gamut.
16341640

@@ -1658,12 +1664,12 @@ Color Display Quality: the 'color-gamut' feature</h3>
16581664
Note: The table above does not contains enough information to fully describe the color spaces,
16591665
but is sufficient to determine whether an output device approximately covers their respective gamuts.
16601666
See [[SRGB]] for more information on sRGB,
1661-
[[SMPTE-EG-432-1-2010]] and [[SMPTE-RP-431-2-2011]] for more information on DCI P3,
1667+
[[Display-P3]] for more information on Display P3,
16621668
and [[ITU-R-BT-2020-2]] for more information on ITU-R Recommendation BT.2020.
16631669

16641670
<div class="example">
16651671
For example, this media query applies when the display supports colors
1666-
in the range of DCI P3:
1672+
in the range of Display P3:
16671673

16681674
<pre class="lang-css">
16691675
@media (color-gamut: p3) { … }

mediaqueries-5/Overview.bs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ spec:css-values-4;
5353
"href": "https://www.itu.int/rec/R-REC-BT.2020/en",
5454
"title": "Parameter values for ultra-high definition television systems for production and international programme exchange",
5555
"date": "October 2015"
56+
},
57+
"Display-P3": {
58+
"title": "Display P3",
59+
"authors": "Apple, Inc",
60+
"date": "2022-02",
61+
"href": "https://www.color.org/chardata/rgb/DisplayP3.xalter"
5662
}
5763
}
5864
</pre>
@@ -1264,7 +1270,7 @@ Horizontal Viewport Segments: the '@media/horizontal-viewport-segments' feature<
12641270
</pre>
12651271

12661272
The '@media/horizontal-viewport-segments' media feature describes the number of logical segments of
1267-
the viewport in the horizontal direction.
1273+
the viewport in the horizontal direction.
12681274

12691275
The '@media/horizontal-viewport-segments' media feature is <a>false in the negative range</a>.
12701276

@@ -1822,7 +1828,7 @@ Color Display Quality: the 'color-gamut' feature</h3>
18221828
<dt><dfn>p3</dfn>
18231829
<dd>
18241830
The UA and output device can support approximately the gamut
1825-
specified by the DCI P3 Color Space or more.
1831+
specified by the Display P3 [[Display-P3]] Color Space or more.
18261832

18271833
Note: The ''p3'' gamut is larger than and includes the ''srgb'' gamut.
18281834

@@ -1852,12 +1858,12 @@ Color Display Quality: the 'color-gamut' feature</h3>
18521858
Note: The table above does not contains enough information to fully describe the color spaces,
18531859
but is sufficient to determine whether an output device approximately covers their respective gamuts.
18541860
See [[SRGB]] for more information on sRGB,
1855-
[[SMPTE-EG-432-1-2010]] and [[SMPTE-RP-431-2-2011]] for more information on DCI P3,
1861+
[[Display-P3]] for more information on Display P3,
18561862
and [[ITU-R-BT-2020-2]] for more information on ITU-R Recommendation BT.2020.
18571863

18581864
<div class="example">
18591865
For example, this media query applies when the display supports colors
1860-
in the range of DCI P3:
1866+
in the range of Display P3:
18611867

18621868
<pre class="lang-css">
18631869
@media (color-gamut: p3) { … }

0 commit comments

Comments
 (0)