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

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

From: Brian Manthos <brianman@microsoft.com>
Date: Mon, 26 Sep 2011 19:49:37 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>, Lea Verou <leaverou@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17174036@TK5EX14MBXC266.redmond.corp.microsoft.com>
Or *-gradient.
-Brian

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of Tab Atkins Jr.
Sent: Friday, September 23, 2011 8:00 AM
To: Lea Verou
Cc: www-style list
Subject: Re: [css4-background] Drop restriction for color on last background layer only

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.

~TJ


Received on Monday, 26 September 2011 19:50:11 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:04 UTC