Re: fallback color for background-image (ISSUE-5)

Anne van Kesteren wrote:
> Alan Gresley wrote:
>> So the slash / would indicate that a UA falls back to the transparent 
>> background?
> 
> No, it would fall back to a red color in my example.
> 
> 
>> Is this for users who have disabled background images?
> 
> It's for whenever the specified background image does not apply, as I 
> understand it. This could be because images are disabled, because the 
> image format is not supported, because the resource returns a 404, etc.


OK, I'm sort of following. The fall back is the red background. How 
would this work? Does the UA realize that either images have been 
disabled, the image format is not supported or a 404, etc. Wouldn't this 
happen anyway if I just had.

background: red url(image.png);


Why would you need the transparent background?


>> Can you clearly define why you in some cases use this?
>>
>> background:url(...);
> 
> If I want all other background properties to use the initial value.


Which one is the initial value, the other (or better) value or the fall 
back to the red background? I just trying to see a clear picture here. :-)

Like what are the use cases?


Alan

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

Received on Friday, 4 April 2008 15:18:51 UTC