[csswg-drafts] [css-color-4] L as `<percentage>` in `lab()` and `oklab()` (#6761)

danburzo has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-4] L as `<percentage>` in `lab()` and `oklab()` ==
In the context of [adding `oklab()` and `oklch()` syntaxes](https://github.com/w3c/csswg-drafts/issues/6642) which use `<percentage>` for the L channel that map to its canonical `[0, 1]` range, the decision to use `<percentage>` for `lab()` and `lch()` ([previously discussed](https://github.com/w3c/csswg-drafts/issues/4477)) to map to its canonical `[0, 100]` range feels inconsistent.

Since the spec has recently included a [breaking change in the definition of `color(xyz)`](https://github.com/w3c/csswg-drafts/issues/6722), now might be a good opportunity to revisit the decision to use `<percentage>` in `lab()` and `lch()`? 

This will also impact the usage of `color()` if [these color spaces will be allowed as identifiers](https://github.com/w3c/csswg-drafts/issues/6741), if you're allowed to use either `<number>` or `<percentage>` for the Lightness. 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6761 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 25 October 2021 12:50:14 UTC