W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [CSS4 color][CSS4 transition] color pre-multiplied vs non pre-multiplied

From: Alan Gresley <alan@css-class.com>
Date: Fri, 01 Feb 2013 19:48:45 +1100
Message-ID: <510B816D.2020803@css-class.com>
To: Rik Cabanier <cabanier@gmail.com>
CC: Simon Fraser <smfr@me.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On 1/02/2013 7:29 PM, Alan Gresley wrote:

> Regarding SVGs, WebKit does something different with SVG. If only a
> transparent color is used (i.e. stop-color:rgba(255,0,255,0)), the SVG
> is premultiplied.

I am wrong. the SVG does not show alpha transparency.

> This changes if you add stop-opacity:0. FF, Opera and
> IE9 behave the same way for both methods.
>
> The later of the following two test has stop-opacity:0.
>
> http://css-class.com/test/svg/multiplied.xml
>
> http://css-class.com/test/svg/multiplied2.xml
>
>


-- 
Alan Gresley
http://css-3d.org/
http://css-class.com/
Received on Friday, 1 February 2013 08:49:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT