@@ -817,6 +817,22 @@ or taken from the origin color
817
817
818
818
819
819
<wpt>
820
+ relative-currentcolor-a98rgb-01.html
821
+ relative-currentcolor-lch-01.html
822
+ relative-currentcolor-rgb-01.html
823
+ relative-currentcolor-displayp3-01.html
824
+ relative-currentcolor-oklab-01.html
825
+ relative-currentcolor-rgb-02.html
826
+ relative-currentcolor-hsl-01.html
827
+ relative-currentcolor-oklch-01.html
828
+ relative-currentcolor-xyzd50-01.html
829
+ relative-currentcolor-hsl-02.html
830
+ relative-currentcolor-prophoto-01.html
831
+ relative-currentcolor-xyzd65-01.html
832
+ relative-currentcolor-hwb-01.html
833
+ relative-currentcolor-rec2020-01.html
834
+ relative-currentcolor-lab-01.html
835
+ relative-currentcolor-rec2020-02.html
820
836
parsing/color-computed-relative-color.html
821
837
parsing/color-invalid-relative-color.html
822
838
parsing/color-valid-relative-color.html
@@ -1081,6 +1097,11 @@ the allowed [=channel keywords=] are:
1081
1097
* <dfn value for="rgb()">alpha</dfn> is a <<number>> that corresponds to the
1082
1098
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1083
1099
1100
+ <wpt>
1101
+ relative-currentcolor-rgb-01.html
1102
+ relative-currentcolor-rgb-02.html
1103
+ </wpt>
1104
+
1084
1105
<div class="example">
1085
1106
To manipulate color channels in the sRGB color space:
1086
1107
@@ -1150,6 +1171,11 @@ the allowed [=channel keywords=] are:
1150
1171
* <dfn value for="hsl()">alpha</dfn> is a <<number>> that corresponds to the
1151
1172
[=origin color's=] alpha transparency 1.0 is equivalent to 100%.
1152
1173
1174
+ <wpt>
1175
+ relative-currentcolor-hsl-01.html
1176
+ relative-currentcolor-hsl-02.html
1177
+ </wpt>
1178
+
1153
1179
<div class="example">
1154
1180
This adds 180 degrees to the hue angle, giving a complementary color.
1155
1181
<pre highlight=css>
@@ -1188,6 +1214,10 @@ the allowed [=channel keywords=] are:
1188
1214
* <dfn value for="hwb()">alpha</dfn> is a <<number>> that corresponds to the
1189
1215
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1190
1216
1217
+ <wpt>
1218
+ relative-currentcolor-hwb-01.html
1219
+ </wpt>
1220
+
1191
1221
<h3 id="relative-Lab">Relative Lab Colors</h3>
1192
1222
1193
1223
The grammar of the ''lab()'' function is extended as follows:
@@ -1215,6 +1245,10 @@ the allowed [=channel keywords=] are:
1215
1245
* <dfn value for="lab()">alpha</dfn> is a <<number>> that corresponds to the
1216
1246
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1217
1247
1248
+ <wpt>
1249
+ relative-currentcolor-lab-01.html
1250
+ </wpt>
1251
+
1218
1252
<div class="example">
1219
1253
Multiple ways to adjust the transparency of a base color:
1220
1254
@@ -1267,6 +1301,10 @@ the allowed [=channel keywords=] are:
1267
1301
* <dfn value for="oklab()">alpha</dfn> is a <<number>> that corresponds to the
1268
1302
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1269
1303
1304
+ <wpt>
1305
+ relative-currentcolor-oklab-01.html
1306
+ </wpt>
1307
+
1270
1308
<h3 id="relative-LCH">Relative LCH Colors</h3>
1271
1309
1272
1310
The grammar of the ''lch()'' function is extended as follows:
@@ -2513,7 +2551,22 @@ or any other color or monochrome output device which has been characterized.
2513
2551
thus preserving inheritance into child elements.
2514
2552
2515
2553
<wpt>
2516
-
2554
+ relative-currentcolor-a98rgb-01.html
2555
+ relative-currentcolor-lch-01.html
2556
+ relative-currentcolor-rgb-01.html
2557
+ relative-currentcolor-displayp3-01.html
2558
+ relative-currentcolor-oklab-01.html
2559
+ relative-currentcolor-rgb-02.html
2560
+ relative-currentcolor-hsl-01.html
2561
+ relative-currentcolor-oklch-01.html
2562
+ relative-currentcolor-xyzd50-01.html
2563
+ relative-currentcolor-hsl-02.html
2564
+ relative-currentcolor-prophoto-01.html
2565
+ relative-currentcolor-xyzd65-01.html
2566
+ relative-currentcolor-hwb-01.html
2567
+ relative-currentcolor-rec2020-01.html
2568
+ relative-currentcolor-lab-01.html
2569
+ relative-currentcolor-rec2020-02.html
2517
2570
</wpt>
2518
2571
2519
2572
<h3 id="resolving-device-cmyk-values">
0 commit comments