W3C home > Mailing lists > Public > www-style@w3.org > April 2004

Re: Fallbacks

From: Anne van Kesteren (fora) <fora@annevankesteren.nl>
Date: Thu, 15 Apr 2004 20:13:27 +0200
Message-ID: <407ED0C7.50308@annevankesteren.nl>
To: Ian Hickson <ian@hixie.ch>, www-style@w3.org

>>>What about:
>>>
>>>   background-image: url(white), url(black);
>>>   background-color: white, black;
>>>   color: black, white;
>>>
>>>...? Should 'color' be linked to background-* as well?
>>
>>   background-image:url(white);
>>   /* assuming that isn't a 404 image */
>>   background-color:white;
>>   color:black;
> 
> 
> What about if white is 404? What about if black is 404 too? Or if images
> are disabled?

If white is 404 the only property that will change its value is 
'background-image' -> "url(black)".

If both the images return a 404 the only property that will change its 
value is 'background-image' -> "none".

Disabling images will have the same effect as when all images are not 
found, see above.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Thursday, 15 April 2004 14:13:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:29 GMT