Skip to content

Commit 436e62d

Browse files
committed
[css-color] fix Rec.2020 and Rec2020 to be rec2020, and DCI-P3 P3 to either (consistently) dci-p3 or p3.
Add back rendering intent for FPWD.
1 parent ff25781 commit 436e62d

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

css-color/Overview.bs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,13 +1721,13 @@ The identifier is either one of the predefined spaces
17211721
<p class="issue">Need to add choice of quoted string or number+, to allow
17221722
for named color profiles.</p>
17231723

1724-
<h3 id="predefined">Predefined colorspaces: DCI P3 and Rec.2020.</h3>
1724+
<h3 id="predefined">Predefined colorspaces: dci-p3 and rec2020.</h3>
17251725

1726-
These two colorspaces are indicated by using the predefined identifiers <i>p3</i> or
1726+
These two colorspaces are indicated by using the predefined identifiers <i>dci-p3</i> or
17271727
<i>rec2020</i> in the color function. No ''<@color-profile>'' at-rule is needed for these
17281728
predefined names; if one is supplied, it will be ignored.
17291729

1730-
The DCI P3 [[!DCI-P3]] colorspace has the following characteristics:
1730+
The dci-p3 [[!DCI-P3]] colorspace has the following characteristics:
17311731

17321732
<table>
17331733
<tr><th>Red chromaticity</th><td>x=0.680 y=0.320</td></tr>
@@ -1737,15 +1737,15 @@ The DCI P3 [[!DCI-P3]] colorspace has the following characteristics:
17371737
<tr><th>Transfer function</th><td>1/2.6</td></tr>
17381738
</table>
17391739

1740-
<p class="issue">The defining spec for DCI-P3 is not freely available. It costs USD 240.
1740+
<p class="issue">The defining spec for dci-p3 is not freely available. It costs USD 240.
17411741
There is a Wikipedia article, which is non-authoritative and of unknown accuracy
17421742
(particularly for the transfer function and viewing conditions).
17431743
</p>
17441744

1745-
<p class="issue">DCI transfer function is gamma 1/2.6 while Apple P3 displays use gamma 1/2.2.</p>
1745+
<p class="issue">DCI transfer function for P3 is gamma 1/2.6 while Apple P3 displays use gamma 1/2.2.</p>
17461746

17471747

1748-
The ITU Rec.2020 [[!Rec.2020]]
1748+
The rec2020 [[!Rec.2020]]
17491749
colorspace has the following characteristics:
17501750

17511751
<table>
@@ -1756,7 +1756,7 @@ The ITU Rec.2020 [[!Rec.2020]]
17561756
<tr><th>Transfer function</th><td>see below</td></tr>
17571757
</table>
17581758

1759-
Rec.2020 transfer function has the same form as the one for sRGB, but with
1759+
rec2020 transfer function has the same form as the one for sRGB, but with
17601760
the constants at higher precision to cope with 10 or 12-bit components:
17611761

17621762
<pre class="lang-javascript"> E < β ? 4.5 * E : α * Math.pow(E, 0.45) - (α - 1);
@@ -1773,16 +1773,16 @@ although in practice all but the first step are linear calculations and can be c
17731773
<!-- make these steps links to the appropriate section in a calculations appendix -->
17741774
<ol><li>Convert from gamma-corrected RGB to linear-light RGB (undo gamma correction)
17751775
<li>Convert from linear RGB to CIE XYZ
1776-
<li>Convert from a D65 whitepoint (used by both p3 and rec2020) to the D50 whitepoint used
1776+
<li>Convert from a D65 whitepoint (used by both dci-p3 and rec2020) to the D50 whitepoint used
17771777
in Lab, with the Bradford transform
17781778
<li>Convert D50-adapted XYZ to Lab
17791779
</ol>
17801780

1781-
<p class="issue">Canvas proposes adding a 16bit half-float linear 2020 space</p>
1781+
<p class="issue">Canvas proposes adding a 16bit half-float <em>linear</em> rec2020 space</p>
17821782

17831783
<h4 id="lab-to-predefined">Converting Lab to predefined colorspaces</h4>
17841784

1785-
Conversion from Lab to p3 or rec2020 also requires multiple steps, and again in practice all
1785+
Conversion from Lab to dci-p3 or rec2020 also requires multiple steps, and again in practice all
17861786
but the last step are linear calculations and can be combined.
17871787

17881788
<ol>
@@ -1820,7 +1820,8 @@ in practice, but that could change in the future. or we could add format later,
18201820
a need, and make the default ICC if not specified -->
18211821

18221822
<!-- we decided in San Francisco to not allow renering intent to be specified in the CSS;
1823-
just use the rendering intent provided by the profile.
1823+
just use the rendering intent provided by the profile. Howerver, leave in for FPWD. -->
1824+
18241825

18251826
A third, optional descriptor defines the <dfn data-dfn-type="descriptor" for="@color-profile">rendering intent</dfn> to use when mapping colors
18261827
from a larger to a smaller gamut.
@@ -1897,7 +1898,7 @@ There are four values for rendering intent
18971898
pixels. Out of gamut colors should be converted to colors that have the same saturation
18981899
but fall just inside the gamut.</p> </dd>
18991900
</dl>
1900-
-->
1901+
19011902

19021903
<pre class="prod">
19031904
<dfn at-rule >FIX ME: MISSING</dfn>

0 commit comments

Comments
 (0)