W3C home > Mailing lists > Public > www-style@w3.org > January 2006

Re: Regarding Comma Separation

From: Ben Ward <benmward@gmail.com>
Date: Mon, 16 Jan 2006 22:15:10 +0000
Message-ID: <ef5d0f2f0601161415o10f83977yd739d00404739d08@mail.gmail.com>
To: W3C Style List <www-style@w3.org>
On 1/16/06, HeroreV <herorev@yahoo.com> wrote:

> Another possibility would be to specify different
> backgrounds in separate properties.
>   p {
>     background: yellow url(alpha.png);
>   }
>   p.special {
>     background(2): url(beta.png);
>   }
Strangely enough, that's the exact idea I had when I first read
through multiple backgrounds. The thing is though, it's a whole new
concept for CSS, and changes the data structure of an existing

At the moment background-image is a sting, but using an indexed syntax
changes it to an array. That's hugely relevant to DOM Scripting (and I
suspect also to the internals of existing web browsers). It's not
backwards compatible with the 'old' background property, so it's
really not an option.

Received on Monday, 16 January 2006 22:15:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:22 UTC