- From: Cameron McCormack <cam@mcc.id.au>
- Date: Fri, 18 May 2012 11:05:17 +1000
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- CC: "www-style@w3.org" <www-style@w3.org>
Tab Atkins Jr.: > I'm in favor of making this apply. Note that transitions and > gradients both work in *premultiplied* sRGB right now. SVG officially > doesn't have transparent colors, but in practice it does in browsers, > as they accept all the valid CSS colors. Yeah, we'll need to update SVG 2 to handle the new color values that css3-color defines. I remember some previous discussion about whether an animation between two hsl() colours should interpolate in the HSL colour space by default. (Can't remember whether this was in an SVG or CSS context.) My guess is that that is probably what you want, but not necessarily always. We could introduce an "auto" value for color-interpolation that, for animations, looks looks at the two colour values being interpolated between and to choose the appropriate colour space. If the two colours are different types (say rgb() and hsl()) then we choose sRGB, but if they're both hsl() then we choose HSL.
Received on Friday, 18 May 2012 01:05:50 UTC