[csswg-drafts] Pull Request: [css-color-4] `<hue>` is already normalized at parse time

cdoublev has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-color-4] `<hue>` is already normalized at parse time ==
I propose to remove the `<hue>` normalization in range [0,360) from the HSL to RGB algorithm. I think this is supposed to already have been applied at parse time, as defined in [4.3. Representing Cylindrical-coordinate Hues: the `<hue>` syntax](https://drafts.csswg.org/css-color-4/#hue-syntax):

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

Furthermore, this is not applied in other conversion algorithms (HWB to RGB, LAB to LCH, etc).

See https://github.com/w3c/csswg-drafts/pull/10430


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

Received on Wednesday, 12 June 2024 07:47:44 UTC