W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] [css-color-4] Define color interpolation in one place, reference that in other specs (#5883)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Wed, 20 Jan 2021 18:36:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-763849313-1611167760-sysbot+gh@w3.org>
By the way, as CSSWG already discussed, how to interpolate colors also depends on why you are interpolating _for_. As an example, compositing should be done in a linear-light space like CIE Lab. So Compositing-1 needs updating there; it currently only allows compositing in gamma-encoded sRGB. Filters-1 likewise needs updating (it currently only allows linear-light sRGB). And the definitions of gradients in CSS Images-4 need updating (again they are restricted to gamma-encoded sRGB, so you can't interpolate sRGB to P3 for example).

I'm not prepared to hold up CSS Color 4 while all those other specs get their wider-than-sRGB upgrades.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 January 2021 18:36:04 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:25 UTC