W3C home > Mailing lists > Public > www-style@w3.org > September 2011

Re: [css4-background] Drop restriction for color on last background layer only

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 23 Sep 2011 08:00:21 -0700
Message-ID: <CAAWBYDBQErNget+a-z7OXHWALKtZNjAeEgFFstZYM+kyXTuTGQ@mail.gmail.com>
To: Lea Verou <leaverou@gmail.com>
Cc: www-style list <www-style@w3.org>
On Fri, Sep 23, 2011 at 2:04 AM, Lea Verou <leaverou@gmail.com> wrote:
> I've had a chat with Tab & David Baron yesterday, and we realized that this
> would introduce a huge backwards-compatibility issue: The background-color
> property would become a list, and if it functions like other lists, it would
> break most use cases of multiple backgrounds on the web today. If it doesn't
> function like other property lists, it would be inconsistent.
> Therefore, I don't consider this a good idea any more (unless someone can
> think of a solution to that issue. I can't).

To help close out the issue, you can fake background colors on
non-final layers by using the image() function (defined in Image
Values) and just passing it a color.  Without any urls to attempt, it
will immediately create a solid-color image for you.

Received on Friday, 23 September 2011 15:01:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:04 UTC