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

We coudl, but it would be confusing and problematic,
since not every author read the spec, and most of them
will not understand the 'transparent' "bug".

I think it would be preferable to add a special case in the
spec. BTW, rgba(a,b,c,0) is the same colour as rbga(0, 0, 0, 0).
So the UA's may compute (a,b,c,0) as (0,0,0,0), leading to
the same problem.

--------------------------------------------------
From: "David Singer" <singer@apple.com>
Sent: Friday, January 29, 2010 4:24 PM
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "François REMY" <fremycompany_pub@yahoo.fr>; <w3-style@boblet.net>; 
"www-style" <www-style@w3.org>
Subject: Re: CSS3 transition strangeness when using 
background-color:transparent;

> Alternatively, we could have a note in the spec. warning about this, and 
> suggest that you transition from a color of (a,b,c,d) to (a,b,c,0) if you 
> want to avoid the a->0, b->0, c->0 transitions as well, couldn't we?
>
> On Jan 29, 2010, at 15:21 , Tab Atkins Jr. wrote:
>> I agree that that would probably be a useful special-case, because the
>> color of transparency is always a confusing thing.  >_<
>>
>> 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.
>>
>
> David Singer
> Multimedia and Software Standards, Apple Inc.
> 

Received on Friday, 29 January 2010 15:33:45 UTC