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

Re: [csswg-drafts] [css-color-4] When do color space conversions happen?

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Tue, 24 Jan 2017 20:45:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-274932959-1485290722-sysbot+gh@w3.org>
> As I understand, animations and transitions work on computed values.
 If the computed value is not in the same color space, how can you 
animate? 

By converting them to the working colorspace first. Since this is a 
new concept for CSS the default value of the working colorspace is 
sRGB (for backwards compat) which will result in clipping. Picking a 
more suitable working colorspace avoids that. Interpolation happens in
 the working colorspace.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/867#issuecomment-274932959 
using your GitHub account
Received on Tuesday, 24 January 2017 20:45:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC