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

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

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Fri, 29 Jan 2010 16:33:14 +0100
Message-ID: <B6AD54B7063345ABB6D673B9ECD14EAA@Fremy1>
To: "David Singer" <singer@apple.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: <w3-style@boblet.net>, "www-style" <www-style@w3.org>
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 

> 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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:42 UTC