Re: [css3-images] Gradients feedback

Alan Gresley wrote:
> Boris Zbarsky wrote:
[snip]
>> Testcase that shows that the gradient's intermediate points are not in 
>> fact opaque in either engine:
>>
>> <!DOCTYPE html>
>> <style>
>>   div { width: 100px; height: 100px; }
>>   div.g {
>>         background: -moz-linear-gradient(yellow, transparent);
>>         background: -webkit-gradient(linear, center top, center bottom,
>>                                      from(yellow), to(transparent));
>>   }
>> </style>
>> <div style="background: white"><div class="g"></div></div>
>> <div style="background: red"><div class="g"></div></div>
> 
> 
> Ok, you make a very valid point here concerning a intermediate point 
> which is semi-opaque. I was just understanding what was happening with a 
> gradient from color to transparent before I move on to a gradient from 
> color to color.
[snip]


I have totally misinterpreted your test and my statement above is 
nonsense. A gradient from opaque color to opaque color is fully 
opaque. What do you mean by the gradient's intermediate points are not 
in fact opaque?



-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo

Received on Friday, 10 September 2010 10:05:43 UTC