Skip to content

Commit 66f9e17

Browse files
committed
[css-color-5] minimum precision for serialized forms see #6206
1 parent 8a0f1c8 commit 66f9e17

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

css-color-5/Overview.bs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Level: 5
55
Status: WD
66
Prepare for TR: yes
77
Date: 2021-07-22
8-
Date:
98
Group: csswg
109
TR: https://www.w3.org/TR/css-color-5/
1110
ED: https://drafts.csswg.org/css-color-5/
@@ -1117,6 +1116,10 @@ as defined in [[css-color-4#serializing-color-values]].
11171116
The form used
11181117
depends on the color space specified with "in".
11191118

1119+
The <em>minimum</em> precision for round-tripping
1120+
is the same as that specified in
1121+
[[css-color-4#serializing-color-values]].
1122+
11201123
<table class="data">
11211124
<tr>
11221125
<th>color space</th>
@@ -1170,6 +1173,10 @@ The form used
11701173
is the same as that used to specify
11711174
the winning color.
11721175

1176+
The <em>minimum</em> precision for round-tripping
1177+
is the same as that specified in
1178+
[[css-color-4#serializing-color-values]].
1179+
11731180
<div class="example">
11741181
The winner of this contrast choice
11751182
<pre>color-contrast(wheat vs olive, sienna, maroon)</pre>
@@ -1197,6 +1204,10 @@ is the same as that used to specify
11971204
the relative color,
11981205
but using the absolute form.
11991206

1207+
The <em>minimum</em> precision for round-tripping
1208+
is the same as that specified in
1209+
[[css-color-4#serializing-color-function-values]].
1210+
12001211
<div class="example">
12011212
The result of serializing
12021213
<pre>lch(from peru calc(l * 0.8) calc(c * 0.7) calc(h + 180)) </pre>
@@ -1247,7 +1258,9 @@ Changes {#changes}
12471258
<h3 id="changes-20210601">Since the <a href="https://www.w3.org/TR/2021/WD-css-color-5-20210601/">Working Draft of 1 June 2021</a></h3>
12481259

12491260
<ul>
1250-
<!-- to 05 July 2021 -->
1261+
<!-- to 20 July 2021 -->
1262+
<li>Clarified minimum precision of serialized forms</li>
1263+
<li>Clarified that CIE LCH is meant</li>
12511264
<li>Added some more examples</li>
12521265
<li>Removed color-adjust(), keeping relative color syntax</li>
12531266
<li>Defined serialization of the results of the color-mix, color-contrast, and relative color syntaxes</li>

0 commit comments

Comments
 (0)