W3C home > Mailing lists > Public > www-style@w3.org > February 2009

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

From: David Hyatt <hyatt@apple.com>
Date: Fri, 20 Feb 2009 12:27:09 -0600
Cc: CSS WG <www-style@w3.org>, Ian Hickson <ian@hixie.ch>
Message-id: <AF08CBAF-D626-434A-8CAF-91F884B2CBF6@apple.com>
To: Anne van Kesteren <annevk@opera.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:16 GMT