Re: Fallbacks

On Wed, 14 Apr 2004, Anne van Kesteren (fora) wrote:
>
> Let me give you one of the examples Tantek provided using CSS1 syntax (I
> hope):
>
>    background: lime;
>    background: red url(fancy-lime-pattern-returns-404);
>
> This will be read as (or similar, probably using a hex value):
>
>    background: red;
>
> Using (assuming the whole "serie" must "pass" in CSS3):
>
>    background: red url(fancy-lime-pattern-returns-404), lime;
>
> Would solve this problem and it can be made backwards compatible as
> well, since a comma is not part of the 'background' property in CSS 2.1.

But that is two properties, not one:

   background-color: red, lime;
   background-image: url(404), none;

You want all the background-* properties to be linked?

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 14 April 2004 05:47:13 UTC