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

[css3-background] fallback color on background-image

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 20 Feb 2009 11:59:31 +0100
To: "CSS WG" <www-style@w3.org>
Cc: "Ian Hickson" <ian@hixie.ch>
Message-ID: <op.upncthbd64w2qv@unknown-00-1d-4f-fa-48-ab.lan>
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
Received on Friday, 20 February 2009 11:00:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC