@@ -829,6 +829,7 @@ Color Spaces of Untagged Colors</h3>
829829<h2 id='color-type'>
830830Representing Colors: the <<color>> type</h2>
831831
832+ <wpt title="This section describes a type, it is primarily tested where that type is used."></wpt>
832833
833834 Colors in CSS are represented as a list of color components,
834835 also sometimes called “channels”,
@@ -915,6 +916,12 @@ Representing Colors: the <<color>> type</h2>
915916 but fully transparent--
916917 i.e. <nobr> ''rgb(0 0 0 / 0%)'' </nobr> .
917918
919+ <wpt>
920+ parsing/color-computed-named-color.html
921+ parsing/color-computed.html
922+ parsing/color-valid.html
923+ </wpt>
924+
918925<h3 id="color-syntax">The <<color>> syntax</h3>
919926
920927 <wpt title="This section provides definitions used later, it does not need tests."></wpt>
@@ -1069,24 +1076,21 @@ any achromatic color will have a [=powerless=] hue component.
10691076 and only when the particular effect of doing so is desired.
10701077
10711078 <wpt>
1072- color-computed-color-contrast-function.html
1073- color-computed-color-function.html
1074- color-computed-color-mix-function.html
1075- color-computed-hsl.html
1076- color-computed-hwb.html
1077- color-computed-lab.html
1078- color-computed-relative-color.html
1079- color-computed-rgb.html
1080- color-invalid-hsl.html
1081- color-invalid-rgb.html
1082- color-valid-color-contrast-function.html
1083- color-valid-color-function.html
1084- color-valid-color-mix-function.html
1085- color-valid-hsl.html
1086- color-valid-hwb.html
1087- color-valid-lab.html
1088- color-valid-relative-color.html
1089- color-valid-rgb.html
1079+ parsing/color-computed-color-function.html
1080+ parsing/color-computed-hsl.html
1081+ parsing/color-computed-hwb.html
1082+ parsing/color-computed-lab.html
1083+ parsing/color-computed-relative-color.html
1084+ parsing/color-computed-rgb.html
1085+ parsing/color-invalid-hsl.html
1086+ parsing/color-invalid-rgb.html
1087+ parsing/color-valid-color-function.html
1088+ parsing/color-valid-color-mix-function.html
1089+ parsing/color-valid-hsl.html
1090+ parsing/color-valid-hwb.html
1091+ parsing/color-valid-lab.html
1092+ parsing/color-valid-relative-color.html
1093+ parsing/color-valid-rgb.html
10901094 </wpt>
10911095
10921096 For handling of [=missing component=] in color interpolation,
@@ -1177,6 +1181,9 @@ any achromatic color will have a [=powerless=] hue component.
11771181<h3 id=parse-color>
11781182Parsing a <<color>> Value</h3>
11791183
1184+ <wpt title="This section provides a definition referenced elsewhere, it does not need tests."></wpt>
1185+
1186+
11801187<div algorithm>
11811188 To <dfn export>parse a CSS <<color>> value</dfn> ,
11821189 given a [=string=] |input|,
@@ -2325,6 +2332,9 @@ Converting sRGB Colors to HSL</h3>
23252332<h3 id='hsl-examples'>
23262333Examples of HSL Colors</h3>
23272334
2335+ <em> This section is not normative.</em>
2336+ <wpt title="This section is not normative, it does not need tests."></wpt>
2337+
23282338 The tables below illustrate a wide range of possible HSL colors.
23292339 Each table represents one hue,
23302340 selected at 30° intervals,
@@ -2769,6 +2779,9 @@ Converting sRGB Colors to HWB</h3>
27692779<h3 id='hwb-examples'>
27702780Examples of HWB Colors</h3>
27712781
2782+ <em> This section is not normative.</em>
2783+ <wpt title="This section is not normative, it does not need tests."></wpt>
2784+
27722785 <div class='color-table'>
27732786 <table>
27742787 <tr>
@@ -3028,6 +3041,8 @@ Device-independent Colors: CIE Lab and LCH, Oklab and Oklch</h2>
30283041
30293042 <em> This section is not normative.</em>
30303043
3044+ <wpt title="This section is not normative, it does not need tests."></wpt>
3045+
30313046 Physical measurements of a color are typically expressed in the CIE L*a*b* [[!CIELAB]] color space,
30323047 created in 1976 by the <abbr title="Commission Internationale de l'Eclairage"> CIE</abbr>
30333048 and commonly referred to simply as Lab.
@@ -3178,6 +3193,7 @@ Device-independent Colors: CIE Lab and LCH, Oklab and Oklch</h2>
31783193 <h3 id="ok-lab" class="informative">Oklab and Oklch</h3>
31793194
31803195 <em> This section is not normative.</em>
3196+ <wpt title="This section is not normative, it does not need tests."></wpt>
31813197
31823198 Recently, Oklab,
31833199 an improved Lab-like space has been developed [[!Oklab]] .
@@ -3427,7 +3443,6 @@ Specifying Lab and LCH: the ''lab()'' and ''lch()'' functional notations</h3>
34273443<h3 id="specifying-oklab-oklch">
34283444 Specifying Oklab and Oklch: the ''oklab()'' and ''oklch()'' functional notations</h3>
34293445
3430-
34313446 CSS allows colors to be directly expressed in Oklab and Oklch.
34323447
34333448 <pre class='prod'>
@@ -4441,6 +4456,8 @@ Simple Alpha Compositing</h3>
44414456<h2 id="color-conversion" algorithm="to convert a color">
44424457Converting Colors</h2>
44434458
4459+ <wpt title="This section provides an algorithm used later, it does not need tests."></wpt>
4460+
44444461Colors may be converted
44454462from one color space to another and,
44464463provided that there is no gamut mapping
@@ -5174,6 +5191,9 @@ Note: This section provides important context for the specific requirements desc
51745191
51755192<p><i> This section is non-normative</i></p>
51765193
5194+ <wpt title="This section is not normative, it does not need tests."></wpt>
5195+
5196+
51775197 When a color in an origin color space
51785198 is converted to another, destination color space
51795199 which has a smaller gamut,
@@ -5451,6 +5471,8 @@ Deviations from Perceptual Uniformity: Hue Curvature</h4>
54515471<h3 id="css-gamut-mapping" algorithm="to CSS gamut map">
54525472CSS Gamut Mapping to an RGB Destination</h3>
54535473
5474+ <wpt title="Used values of color are not exposed to script, making this hard to test in an automated manner."></wpt>
5475+
54545476 The <dfn export>CSS gamut mapping algorithm</dfn>
54555477 applies to individual,
54565478 Standard Dynamic Range (SDR) CSS colors
@@ -5981,7 +6003,7 @@ Serializing alpha values</h3>
59816003 If the value is internally represented as an integer
59826004 between 0 and 255 inclusive (i.e. 8-bit unsigned integer),
59836005 follow these steps:
5984-
6006+
59856007 <ol>
59866008 <li> Let <var> alpha</var> be the given integer.
59876009 <li> If there exists an integer between 0 and 100 inclusive that,
@@ -5992,10 +6014,10 @@ Serializing alpha values</h3>
59926014 divided by 0.255 and rounded to the closest integer
59936015 (rounding up if two values are equally close),
59946016 divided by 1000.
5995- <li> Return the result of serializing <var> rounded</var>
6017+ <li> Return the result of serializing <var> rounded</var>
59966018 as a <<number>> .
59976019 </ol>
5998-
6020+
59996021 Otherwise, return the result of serializing the given value
60006022 (as a <<number>> , not a <<percentage>> ).
60016023
@@ -6566,6 +6588,8 @@ Default Style Rules</h2>
65666588Sample code for Color Conversions</h2>
65676589
65686590<em> This section is not normative.</em>
6591+ <wpt title="This section is not normative, it does not need tests."></wpt>
6592+
65696593
65706594For clarity, <a href="multiply-matrices.js">a library</a> is used for matrix multiplication.
65716595(This is more readable than inlining all the multiplies and adds).
@@ -6590,6 +6614,8 @@ highlight: js
65906614Sample Code for ΔE2000 and ΔEOK Color Differences</h2>
65916615
65926616<em> This section is not normative.</em>
6617+ <wpt title="This section is not normative, it does not need tests."></wpt>
6618+
65936619
65946620<h3 id="color-difference-2000">ΔE2000</h3>
65956621<p>
@@ -6881,6 +6907,7 @@ composited-filters-under-opacity.html
68816907light-dark-basic.html
68826908light-dark-currentcolor.html
68836909light-dark-inheritance.html
6910+ light-dark-currentcolor-in-color.html
68846911t31-color-currentColor-b.xht
68856912t31-color-text-a.xht
68866913t41-html4-keywords-a.xht
0 commit comments