- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 May 2020 14:53:03 +0000
- To: public-css-archive@w3.org
> 4c. If you use an unavailable adjuster then the colorspace should auto-convert to the one that has this adjuster. So using chroma would auto-convert to LCH. > 4d. Need to define what happens if you use hue or lightness in, say, rgb where there isn't an obvious default to convert to. That might be disambiguated by picking distinct names (at the expense of verbosity) or by saying it always goes to LCH since that is the default anyway. For now, I went for the simpler option where the color-adjusters available depend on the colorspace. So if you want to adjust HSL hue (for example to port something you already have in sass) then you must specify `hsl` as the colorspace. Being explicit looks more easy to understand and more maintainable (if other colorspaces are added in the future) rather than messy _"if you ask for saturation it autoconverts to HSL but if you ask for Hue it autoconverts to LCH because reasons"_ heuristics. -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4743#issuecomment-634715621 using your GitHub account
Received on Wednesday, 27 May 2020 14:53:06 UTC