[csswg-drafts] [css-color 4] missing code example. (#6570)

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

== [css-color 4] missing code example. ==
In the CSS color 4 draft, the function ` rgbToHsl(rgb); ` is referenced as part of hwb, however, the actual code to implement `rgbToHsl(rgb);` does not exist in the document, whereas related code does.

https://drafts.csswg.org/css-color-4/#rgb-to-hwb

The code to create sRGB from HSL is there as  ` HslToRgb(hsl); ` and HWB shows both from and to, though the rgbToHwb function relies on `rgbToHsl(rgb);` While I realize that "rgbToHsl" is fairly straight forward, I did also look in the repo and could not find the references function.

Thought you'd want to know...

Andy

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


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

Received on Thursday, 2 September 2021 08:46:25 UTC