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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 29 Jan 2010 10:00:17 -0500
Message-ID: <4B62F801.5070709@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style <www-style@w3.org>
On 1/29/10 9:47 AM, Tab Atkins Jr. wrote:
> 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.

See http://lists.w3.org/Archives/Public/www-style/2009Jul/0048.html 
(which does explicitly mention this issue as a tradeoff for getting 
better rendering in almost all the common cases).

> Maybe.  I'm trying to understand your previous email, but I'm pretty
> sure you typo'd on a few places

I just double-checked, and the one typo I see is that

   rgbap(255(t-1), 255(1-5), 255(1-t), 1-t)

should be:

   rgbap(255(1-t), 255(1-t), 255(1-t), 1-t)

Received on Friday, 29 January 2010 15:00:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:31 UTC