[css3-background] fallback color on background-image

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.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Friday, 20 February 2009 11:00:43 UTC