Re: [gradients] basics

Brad Kemper wrote:
> 
> On Nov 8, 2009, at 2:44 PM, Andrew Fedoniouk wrote:
> 
>> Brad Kemper wrote:
>>> On Nov 8, 2009, at 10:43 AM, Andrew Fedoniouk wrote:
>>>> background: linear-gradient(magenta yellow) url(...)
>>>> background: url(...) linear-gradient(magenta yellow)
>>> With the current draft, these would be treated as multiple background 
>>> images, with the last one in the list on the bottom.
>>
>> See, you have made the same mistake here.
>>
>> According to current draft these two values of the background will do
>> nothing as they are simply not valid.
>>
>> These are valid statements (note use of comma):
>>
>> background: linear-gradient(magenta yellow), url(...)
>> background: url(...), linear-gradient(magenta yellow)
> 
> You're right; I imagined a comma where there was none.

You have missed this case too:

background: url(...), linear-gradient(magenta yellow)

It makes no sense - just waste of resources.


-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Monday, 9 November 2009 03:06:34 UTC