Skip to content

Commit a155208

Browse files
committed
[css-color-5] Serialize color-mix in hsl and hwb to maximise precision, fix w3c#6860
1 parent 6795dca commit a155208

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

css-color-5/Overview.bs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,11 +2465,11 @@ is the same as that specified in
24652465
</tr>
24662466
<tr>
24672467
<td>hsl</td>
2468-
<td>hsl(h s l) <a href="#fn1">¹</a></td>
2468+
<td>color(srgb r g b) </td>
24692469
</tr>
24702470
<tr>
24712471
<td>hwb</td>
2472-
<td>hwb(h w b) <a href="#fn2">²</a></td>
2472+
<td>color(srgb r g b)</td>
24732473
</tr>
24742474
<tr>
24752475
<td>xyz-d65</td>
@@ -2481,7 +2481,7 @@ is the same as that specified in
24812481
</tr>
24822482
<tr>
24832483
<td>xyz</td>
2484-
<td>color(xyz-d65 x y z) <a href="#fn3">³</a></td>
2484+
<td>color(xyz-d65 x y z) <a href="#fn1">¹</a></td>
24852485
</tr>
24862486
<tr>
24872487
<td>lab</td>
@@ -2503,10 +2503,6 @@ is the same as that specified in
25032503

25042504
<dl>
25052505
<dt id="fn1">¹</dt>
2506-
<dd>''hsl()'' will then serialize as ''rgb()'' or ''rgba()''</dd>
2507-
<dt id="fn2">²</dt>
2508-
<dd>''hwb()'' will then serialize as ''rgb()'' or ''rgba()''</dd>
2509-
<dt id="fn3">³</dt>
25102506
<dd>Because ''xyz'' is just an alias for ''xyz-d65''</dd>
25112507

25122508
</dl>

0 commit comments

Comments
 (0)