- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Mon, 15 Oct 2018 20:40:51 +0000
- To: public-css-archive@w3.org
> One benefit of the optional argument syntax that is now lost is that it's also a color space conversion syntax. rgb(var(--mycolor)) clips to sRGB, I don't think that should be true. The color functions allow out-of-gamut parameters; this is especially necessary since computed color values are always converted to `rgba()` format. Clipping only happens to device limitations at used value time. But that makes me thinking that in addition to a relative adjustment function, there should maybe be a `clamp()` function (or separate max/min functions) that can use the underlying value as starting point. -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3187#issuecomment-430005271 using your GitHub account
Received on Monday, 15 October 2018 20:40:52 UTC