RE: [css3-images] July F2F minutes comment regarding SVG and non-opaque colors

IE9...
(1) supports rgba/hsla in SVG via CSS
(2) supports rgba/hsla in SVG via presentation attributes
(3) uses non-premultiplied interpolation for SVG gradients
(4) implementation of SVG stop-opacity has an interesting impact, that can be discussed in more depth in a separate thread

-----Original Message-----
From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] 
Sent: Thursday, August 18, 2011 3:45 PM
To: Cameron McCormack
Cc: Brian Manthos; www-style@w3.org
Subject: Re: [css3-images] July F2F minutes comment regarding SVG and non-opaque colors

On Thu, Aug 18, 2011 at 3:36 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> It's true that SVG 1.1's <color> definition doesn't technically allow 
> rgba() colours, but it would be interesting to see what 
> implementations do with it currently to know whether this is compatible with Image Values' definitions.
>  Also whether this behaviour is the same as an SVG gradient where some 
> stops have non-zero stop-opacity property values.

I can't immediately test other browsers, but Chrome simply ignores the transparency of the color, while Firefox does the transition in post-multiplied space (same as they currently do for linear-gradient()).

~TJ

Received on Friday, 19 August 2011 00:23:53 UTC