Re: [css3-background] fallback color on background-image

On Feb 20, 2009, at 4:59 AM, Anne van Kesteren wrote:

> A comment from Ian lingering on www-archive regarding fallback colors.
>
> ------- Forwarded message -------
> From: "Ian Hickson" <ian@hixie.ch>
> To: "L. David Baron" <dbaron@dbaron.org>
> Cc: fantasai@inkedblade.net, www-archive@w3.org
> Subject: Re: Acid2 and css3-background
> Date: Fri, 20 Feb 2009 02:02:39 +0100
>
> On Thu, 19 Feb 2009, L. David Baron wrote:
>>
>> So it turns out that Acid2 actually starts failing once we implement
>> the css3-background version of background-color, because it has a
>> test with:
>>     .parser { background: red pink; }
>> which is legal in
>> http://dev.w3.org/csswg/css3-background/#the-background-color- 
>> property
>> at least according to the current draft syntax.
>>
>> I'd suggest maybe changing it to "red pink pink"?
>
> I'll look into changing the test, but I have to say that  
> "background: red
> pink" is really unintuitive. Even after reading the spec I don't fully
> understand what it does. Shouldn't it be on the background-image  
> property?
> It seems it would cascade badly if set on backgrond-color, too.

I'd be for just removing this feature from the CSS3 draft.  I think  
it's really weird and not particularly useful.

dave
(hyatt@apple.com)

Received on Friday, 20 February 2009 18:27:51 UTC