Skip to content

Commit f1e9daa

Browse files
committed
[css-color-4] remove lab from color(), fix #5887
1 parent 2c776e0 commit f1e9daa

File tree

1 file changed

+5
-27
lines changed

1 file changed

+5
-27
lines changed

css-color-4/Overview.bs

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3269,7 +3269,7 @@ Profiled, Device-dependent Colors</h2>
32693269

32703270
<h3 id="predefined">
32713271
Predefined color spaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb'', ''rec2020'',
3272-
''xyz'' and ''lab'''.</h3>
3272+
and ''xyz''.</h3>
32733273

32743274
<!-- Browser tracking bugs:
32753275
Chromium https://bugs.chromium.org/p/chromium/issues/detail?id=1068610
@@ -3604,35 +3604,13 @@ Predefined color spaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb''
36043604
predefined-016.html
36053605
</wpt>
36063606

3607-
<dt><dfn>lab</dfn>
3608-
<dd>
3609-
The ''lab'' [[CIELAB]] color space accepts one percentage and two numeric parameters,
3610-
representing the L, a, and b values.
3611-
The meaning and valid ranges are <a href="#specifying-lab-lch">the same as the lab() function</a>.
3612-
3613-
<div class="example" id="ex-lab-in-color">
3614-
These are exactly equivalent:
36153607

3616-
<pre class="lang-css">
3617-
<span class="swatch" style="--color: rgb(38.29% 67.27% 93.85%)"></span> lab(67.5345% -8.6911 -41.6019);
3618-
<span class="swatch" style="--color: rgb(38.29% 67.27% 93.85%)"></span> color(lab 67.5345% -8.6911 -41.6019);
3619-
</pre>
3620-
</div>
3608+
</dl>
36213609

3622-
<wpt>
3610+
<!-- remove this test from wpt -->
3611+
<!-- <wpt>
36233612
predefined-013.html
3624-
</wpt>
3625-
3626-
It has the following characteristics:
3627-
3628-
<table>
3629-
<tr>
3630-
<th>Percentages</th>
3631-
<td>Required for L; disallowed for a and b.</td>
3632-
</tr>
3633-
</table>
3634-
3635-
</dl>
3613+
</wpt> -->
36363614

36373615
<h4 id="predefined-to-lab">
36383616
Converting predefined color spaces to Lab</h4>

0 commit comments

Comments
 (0)