@@ -76,6 +76,8 @@ Introduction</h2>
76
76
<abbr title="black-cyan-magenta-yellow-green-orange-violet"> KCMYGOV</abbr>
77
77
are supported.
78
78
79
+ A <a href="https://test.csswg.org/harness/results/css-color-4_dev/grouped/">draft implementation report</a> is available.
80
+
79
81
<h3 id="values">
80
82
Value Definitions</h3>
81
83
@@ -953,6 +955,22 @@ System Colors</h3>
953
955
though possibly at a lower contrast rating,
954
956
over any of the backgrounds.
955
957
958
+ <div class="example" id="SystemCombo">
959
+ For example, the system color combinations in the browser you are currently using:
960
+
961
+ <p> Canvas with CanvasText <span style="background-color:Canvas; color:CanvasText"> CanvasText</span></p>
962
+ <p> Canvas with LinkText <span style="background-color:Canvas; color:LinkText"> LinkText</span></p>
963
+ <p> Canvas with VisitedText <span style="background-color:Canvas; color:VisitedText"> VisitedText</span></p>
964
+ <p> Canvas with ActiveText <span style="background-color:Canvas; color:ActiveText"> ActiveText</span></p>
965
+ <p> Canvas with GrayText <span style="background-color:Canvas; color:GrayText"> GrayText</span></p>
966
+ <p> ButtonFace with ButtonText <span style="background-color:ButtonFace; color:ButtonText"> ButtonText</span></p>
967
+ <p> ButtonFace with GrayText <span style="background-color:ButtonFace; color:GrayText"> GrayText</span></p>
968
+ <p> Field with FieldText <span style="background-color:Field; color:FieldText"> FieldText</span></p>
969
+ <p> Field with GrayText <span style="background-color:Field; color:GrayText"> GrayText</span></p>
970
+ <p> Highlight with HighlightText <span style="background-color:Highlight; color:HighlightText"> HighlightText</span></p>
971
+ <p> Highlight with GrayText <span style="background-color:Highlight; color:GrayText"> GrayText</span></p>
972
+ </div>
973
+
956
974
Earlier versions of CSS defined additional <<system-color>> s,
957
975
which have since been deprecated.
958
976
These are documented in [[#deprecated-system-colors]] .
@@ -1919,6 +1937,11 @@ Device-independent Colors: Lab and LCH</h2>
1919
1937
Specifying Lab and LCH: the ''lab()'' and ''lch()'' functional notations</h3>
1920
1938
<!-- lab rather than CIELab or whatever, for brevity -->
1921
1939
1940
+ <!-- browser tracking bugs:
1941
+ Chromium https://bugs.chromium.org/p/chromium/issues/detail?id=1026287
1942
+
1943
+ -->
1944
+
1922
1945
CSS allows colors to be directly expressed in Lab and LCH.
1923
1946
1924
1947
<pre class='prod'>
@@ -2191,6 +2214,12 @@ Profiled, Device-dependent Colors</h2>
2191
2214
<h3 id="predefined">
2192
2215
Predefined colorspaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb'', ''rec2020'' and ''lab'''.</h3>
2193
2216
2217
+ <!-- Browser tracking bugs:
2218
+ Chromium https://bugs.chromium.org/p/chromium/issues/detail?id=1068610
2219
+
2220
+ Quick test https://mathiasbynens.github.io/css-dbg-stories/css-color.html
2221
+ -->
2222
+
2194
2223
The following colorspaces are predefined for use in the ''color()'' function.
2195
2224
They are used without any ''@color-profile'' rule.
2196
2225
0 commit comments