Re: [csswg-drafts] [css-color-4] Serialization rules for hue component of lch() and oklch() (#7782)

Now that `specified` is removed in #7750 I have changed the `<hue>` definition for early canonicalization, thus allowing a freer choice for internal representation of colors and maintaining the 1:1 colorimetric identity between different syntactical forms:

> Because this value is so often given in degrees,
the argument can also be given as a number,
which is interpreted as a number of degrees
and is the [=canonical unit=].

> This number is normalized
to the range [0,360].

This also enables the edits from #7876 where channel keywords for hues return a number.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7782#issuecomment-1380300737 using your GitHub account


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

Received on Thursday, 12 January 2023 12:58:51 UTC