Skip to content

[css-color-4] statement about range of 'a' parameter in lab() appears incorrect #12208

Closed
@dd8

Description

@dd8

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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions