W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: CSS3 transition strangeness when using background-color:transparent;

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 29 Jan 2010 08:47:38 -0600
Message-ID: <dd0fbad1001290647w27472e4bgfd907f59aa1b45a1@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style <www-style@w3.org>
On Fri, Jan 29, 2010 at 8:29 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 1/29/10 9:21 AM, Tab Atkins Jr. wrote:
>>
>> Of course, if an author changes to rgba(0,0,0,0) specifically, it
>> should indeed transition on all components, and darken as it fades.
>
> Why?  Why would you ever want that?

So that you could, frex, change to rgba(0,256,256,0), and have a
reddening as it goes opaque?  It seems to make sense to me.

>> Is is possible to special-case this?
>
> Wouldn't it be better to just do the premultiplied thing?  Any time opacity
> is involved it seems to give more desirable results.

Maybe.  I'm trying to understand your previous email, but I'm pretty
sure you typo'd on a few places, but I'm not precisely sure *where*,
so I'm having trouble connecting your examples with this explanation
of premultiplication that I'm reading.

~TJ
Received on Friday, 29 January 2010 14:48:30 GMT

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