W3C home > Mailing lists > Public > www-style@w3.org > August 2011

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

From: Brian Manthos <brianman@microsoft.com>
Date: Fri, 19 Aug 2011 00:23:14 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>, Cameron McCormack <cam@mcc.id.au>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17124AA2@TK5EX14MBXC264.redmond.corp.microsoft.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT