Skip to content

Commit 6298ae3

Browse files
committed
[css-color-4] update list of changes
1 parent 4f22b5c commit 6298ae3

1 file changed

Lines changed: 48 additions & 21 deletions

File tree

css-color-4/Overview.bs

Lines changed: 48 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4902,6 +4902,25 @@ Changes</h2>
49024902
</h3>
49034903

49044904
<ul>
4905+
<!-- to 20 May 2021 -->
4906+
<li>Added components descriptor to @color-profile, for use in CSS Color 5</li>
4907+
<li>All predefined RGB colorspaces are defined over the extended range</li>
4908+
<li>Clarified that there is no gamut mapping or gamut clipping step prior to color interpolation</li>
4909+
<li>Clarified interpolation of legacy sRGB syntaxes</li>
4910+
<li>Removed the lab option from ''color()''</li>
4911+
<li>List steps to interconvert between predefined color spaces</li>
4912+
<li>Consistent use of the term color space (two words)</li>
4913+
<li>Provided more guidance on selecting color space for mixing </li>
4914+
<li>Recalculated an example to increase precision</li>
4915+
<li>Added hue interpolation example</li>
4916+
<li>Simplified ''color()'' syntax by removing the fallback options</li>
4917+
<li>Clarified the types of ICC profile that may be linked from @color-profile</li>
4918+
<li>Support for the rare ICC Named Colors was removed</li>
4919+
<li>Improved precsion of standard whitepoint chromaticities</li>
4920+
<li>Removed a trademark from description of one predefined color space</li>
4921+
<li>Rephrased interpolation to be more generic wrt to interpolation space</li>
4922+
<li>Corrected Accessibility Considerations section</li>
4923+
<li>Clarified that the color space argument for ''color()'' is mandatory, even for sRGB</li>
49054924
<li>Clarified that currentColor is not restricted to sRGB</li>
49064925
<!-- to 3 Feb 2021 -->
49074926
<li>Small correction to the sRGB to XYZ to sRGB matrices, improve round-tripping</li>
@@ -5073,44 +5092,52 @@ Changes</h2>
50735092
<h3 id='changes-from-3'>
50745093
Changes from Colors 3</h3>
50755094

5076-
<ol>
5077-
<li>''rgb()'' and ''rgba()'' functions now accept <<number>> rather than <<integer>>.
5095+
The primary change, compared to SS Color 3,
5096+
is that CSS colors are no longer restricted to the
5097+
narrow gamut of sRGB.
50785098

5079-
<li>''hsl()'' and ''hsla()'' functions now accept <<angle>> as well as <<number>> for hues.
5099+
To support this, several brand new features have been added:
50805100

5081-
<li>''rgb()'' and ''rgba()'', and ''hsl()'' and ''hsla()'' are now aliases of each other
5082-
(all of them have an optional alpha).
5101+
<ol>
5102+
<li>predefined, wide color gamut RGB color spaces</li>
50835103

5084-
<li>''rgb()'', ''rgba()'', ''hsl()'', and ''hsla()'' have all gained a new syntax
5085-
consisting of space-separated arguments
5086-
and an optional slash-separated opacity.
5087-
All the color functions use this syntax form now,
5088-
in keeping with <a href="https://wiki.csswg.org/ideas/functional-notation#general-principles">CSS's functional-notation design principles</a>.
5104+
<li>''lab()'' and ''lch()'' functions, for device-independent color
50895105

5090-
<li>All uses of <<alpha-value>> now accept <<percentage>> as well as <<number>>.
5106+
<li>''color()'' function and ''@color-profile'' at-rule, for profiled device-dependent color, including calibrated CMYK.
5107+
5108+
<li>''device-cmyk()'' function, for specifying uncalibrated colors in an output-device-specific CMYK color space.
50915109

5092-
<li>4 and 8-digit hex colors have been added, to specify transparency.
50935110
</ol>
50945111

5095-
Several brand new features have been added:
5112+
Other technical changes:
50965113

50975114
<ol>
5115+
<li>Serialization of <<color>> is now specified here, rather than in the CSS Object Model
5116+
5117+
<li>''hwb()'' function, for specifying sRGB colors in the HWB notation.
50985118

5099-
<li>''hwb()'' function, for specifying colors in the HWB notation.
5119+
<li>Addition of named color ''rebeccapurple''.
5120+
</ol>
51005121

5101-
<!-- <li>''color-mod()'' function, for manipulating colors. -->
5122+
In addition, there have been some syntactic changes:
51025123

5103-
<li>predefined, wide color gamut RGB color spaces</li>
5124+
<ol>
5125+
<li>''rgb()'' and ''rgba()'' functions now accept <<number>> rather than <<integer>>.
51045126

5105-
<li>''lab()'' and ''lch()'' functions, for device-independent color
5127+
<li>''hsl()'' and ''hsla()'' functions now accept <<angle>> as well as <<number>> for hues.
51065128

5107-
<li>''color()'' function and ''@color-profile'' at-rule, for profiled device-dependent color, including calibrated CMYK.
5129+
<li>''rgb()'' and ''rgba()'', and ''hsl()'' and ''hsla()'' are now aliases of each other
5130+
(all of them have an optional alpha).
51085131

5109-
<li>''device-cmyk()'' function, for specifying uncalibrated colors in an output-device-specific CMYK color space.
5132+
<li>''rgb()'', ''rgba()'', ''hsl()'', and ''hsla()'' have all gained a new syntax
5133+
consisting of space-separated arguments
5134+
and an optional slash-separated opacity.
5135+
All the color functions use this syntax form now,
5136+
in keeping with <a href="https://wiki.csswg.org/ideas/functional-notation#general-principles">CSS's functional-notation design principles</a>.
51105137

5111-
<li>Serialization of <<color>> now specified here, rather than in CSS Object Model
5138+
<li>All uses of <<alpha-value>> now accept <<percentage>> as well as <<number>>.
51125139

5113-
<li>Addition of named color ''rebeccapurple''.
5140+
<li>4 and 8-digit hex colors have been added, to specify transparency.
51145141
</ol>
51155142

51165143
Security and Privacy Considerations {#priv-sec}

0 commit comments

Comments
 (0)