W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: [CSS3] support for linear-gradients & radial-gradients

From: Alan Gresley <alan@css-class.com>
Date: Tue, 08 Feb 2011 04:07:54 +1100
Message-ID: <4D5026EA.8020408@css-class.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Simon Fraser <smfr@me.com>, Peter Beverloo <peter@lvp-media.com>, Irfan Mir <theirf@gmail.com>, www-style@w3.org, Adrian Low <aidypoos@optusnet.com.au>, Chris Lilley <chris@w3.org>
On 6/02/2011 12:03 PM, Tab Atkins Jr. wrote:
> I'm going to ignore most of your email, because it was unnecessarily
> hostile and ill-informed.

Sorry if my email seem hostile. It was not intended to be hostile.

>> You are implying extra meaning to that part of the spec. Again.
>>   | This keyword can be considered a shorthand for
>>   | transparent black, rgba(0,0,0,0), which is its computed value.
>> It states that transparent can be considered a shorthand for transparent
>> black. It does not say that transparent has a proper definition as being
>> transparent black. If it is considered a shorthand for rgba(0,0,0,0), then
>> it can also be considered a shorthand for all the other colors with full
>> alpha transparency. That is 16,777,215 colors.
> I'm not sure how you make this conclusion.

My conclusion was based on completely misunderstanding what 
'transparent' was. I understood 'transparent' to represent 'inherit' 
color from ancestor since I believe wrongly that 'transparent' was clear 
like fully transparent glass. Now I understand that rgba(0,0,0,0) is 
different from rgba(255,255,255,0) and the other 10 million color in 

So we have this.


And for the yellow ~ transparent [1] you want the midway point to be 
(255,255,0,0.5) [2] which when composite on a white background is the 
same as the midway point between yellow ~ white. This I tried to emulate 
with tiles [4] for many months where I could have simply used yellow ~ 

Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Monday, 7 February 2011 17:09:32 UTC

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