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

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)

-Boris

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