Skip to content

Commit aa3ad4e

Browse files
cdoublevsvgeesus
authored andcommitted
[css-color-5][editorial] Fix serialization form of mixed colors
1 parent eaf34b1 commit aa3ad4e

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

css-color-5/Overview.bs

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2902,6 +2902,22 @@ depends on the color space specified with "in":
29022902
<td>srgb-linear</td>
29032903
<td>color(srgb-linear r g b) </td>
29042904
</tr>
2905+
<tr>
2906+
<td>display-p3</td>
2907+
<td>color(display-p3 r g b) </td>
2908+
</tr>
2909+
<tr>
2910+
<td>a98-rgb</td>
2911+
<td>color(a98-rgb r g b) </td>
2912+
</tr>
2913+
<tr>
2914+
<td>prophoto-rgb</td>
2915+
<td>color(prophoto-rgb r g b) </td>
2916+
</tr>
2917+
<tr>
2918+
<td>rec2020</td>
2919+
<td>color(rec2020 r g b) </td>
2920+
</tr>
29052921
<tr>
29062922
<td>hsl</td>
29072923
<td>color(srgb r g b) </td>
@@ -3000,7 +3016,7 @@ which is a <<color>>,
30003016
as defined in [[css-color-4#serializing-color-values]].
30013017

30023018
The form used
3003-
depends on the color space of the [=origin color=]:
3019+
depends on the color space of the [=relative color=]:
30043020

30053021
<table class="data">
30063022
<tr>
@@ -3015,6 +3031,22 @@ depends on the color space of the [=origin color=]:
30153031
<td>srgb-linear</td>
30163032
<td>color(srgb-linear r g b) </td>
30173033
</tr>
3034+
<tr>
3035+
<td>display-p3</td>
3036+
<td>color(display-p3 r g b) </td>
3037+
</tr>
3038+
<tr>
3039+
<td>a98-rgb</td>
3040+
<td>color(a98-rgb r g b) </td>
3041+
</tr>
3042+
<tr>
3043+
<td>prophoto-rgb</td>
3044+
<td>color(prophoto-rgb r g b) </td>
3045+
</tr>
3046+
<tr>
3047+
<td>rec2020</td>
3048+
<td>color(rec2020 r g b) </td>
3049+
</tr>
30183050
<tr>
30193051
<td>hsl</td>
30203052
<td>color(srgb r g b) </td>

0 commit comments

Comments
 (0)