Re: [csswg-drafts] [css-color] Computing lch/lab to srgb with lightness = 0% or 100% (#8794)

> For the implementation, should a and b become zero at parsed/computed or used time?

[Looks like the language in the spec changed again](https://drafts.csswg.org/css-color-4/#specifying-lab-lch)? 

"""
If the lightness of a Lab color (after clamping) is 0%, or 100% the color will be displayed as black, or white, respectively due to gamut mapping to the display.
"""

So this would imply that the mapping should be done at used value time?

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


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

Received on Wednesday, 11 October 2023 21:34:41 UTC