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 15:31:13 +1100
Message-ID: <510B4511.4060601@css-class.com>
To: Rik Cabanier <cabanier@gmail.com>
CC: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On 1/02/2013 2:25 PM, Rik Cabanier wrote:
> So, can we fix the spec?

Yes. Changing the part here [1] regarding example 23 and the second note 
that discusses premultiplied color space.

Giving an example of how to create a gradient from color to 
transparent-color like so:

   linear-gradient(red, rgba(255,0,0,0))

   linear-gradient(red, rgba(255,0,0,0) 50%, rgba(0,0,255,0) 50%, blue)

Possibly consider a new way to trigger transparent-color:

   linear-gradient(red, pre-transparent)

   linear-gradient(red, pre-transparent, blue)

> I volunteer to fix the implementation in FF and WK.

What would you fix in FF and what is WK?

I would volunteer to create examples for gradients.

Regarding transitioning of color. Maybe dealing with issue 7 [2]. If 
pre-transparent ever becomes a reality, then this is not an issue 
anymore and can be changed before transition is _un-prefixed_.

1. http://dev.w3.org/csswg/css3-images/#color-stop-syntax
2. http://dev.w3.org/csswg/css3-transitions/#animatable-types

Alan Gresley
Received on Friday, 1 February 2013 04:31:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:08 UTC