Re: [csswg-drafts] [css-color-4] Consider adding "extended" and "linear" variants of the predefined RGB-ish color spaces (#6087)

> That is all done now; all the transfer functions are defined over the extended range.

For reference, the commit that did this was 0503cf1e2043a07b2caef924ad12baa574cc7080.
(It was a bit challenging to find in the blame because of small merge-commit issue that happened shortly after it.)

May I ask (perhaps this is not _quite_ the right issue for it): Are these colorspaces now meant to be defined over the extended range? I ask because there is still the following wording, e.g. for srgb:

> The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color, with each having a valid range of [0, 1].

Perhaps this is meant to only apply to the `color()` function and not to the actual definition of the colorspace that we are using in WebGPU (which seems unambiguously defined over the full range).

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


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

Received on Saturday, 25 September 2021 01:23:11 UTC