Closed
Description
The spec says
The second and third arguments are the distances along the "a" and "b" axes in the Lab color space, as described in the previous section. These values are signed (allow both positive and negative values) and theoretically unbounded (but in practice do not exceed ±160).
https://drafts.csswg.org/css-color-4/#specifying-lab-lch
However, there are several files in the WPT test suite where the "a" parameter exceeds the ±160 range:
- https://wpt.live/css/css-color/prophoto-rgb-004-ref.html lab(87.5745% -186.6921 150.9905);
- https://wpt.live/css/css-color/prophoto-rgb-004.html lab(87.5745% -186.6921 150.9905);
- https://wpt.live/css/css-color/rec2020-004-ref.html lab(85.7729% -160.7259 109.2319);
- https://wpt.live/css/css-color/rec2020-004.html lab(85.7729% -160.7259 109.2319);
- https://wpt.live/css/css-color/xyz-004-ref.html lab(99.6289% -354.58 146.707);
- https://wpt.live/css/css-color/xyz-004.html lab(99.6289% -354.58 146.707);
- https://wpt.live/css/css-color/xyz-d65-004-ref.html lab(99.6289% -354.58 146.707);
- https://wpt.live/css/css-color/xyz-d65-004.html lab(99.6289% -354.58 146.707);