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

> 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