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 Friday, 23 September 2011 15:01:16 UTC