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

Re: Regarding Comma Separation

From: HeroreV <herorev@yahoo.com>
Date: Mon, 16 Jan 2006 13:13:44 -0800 (PST)
Message-ID: <20060116211344.18172.qmail@web50109.mail.yahoo.com>
To: W3C Style List <www-style@w3.org>

--- Ben Ward <benmward@gmail.com> wrote:

> There is one concern that I have, which is that
> different parts of CSS are now using comma
> separation for different things:

> Could a different symbol, perhaps '&', be used for
> multiples such as those for multiple background
> images?

Another possibility would be to specify different
backgrounds in separate properties.

  p {
    background: yellow url(alpha.png);
  p.special {
    background(2): url(beta.png);

This would replace:
  p {
    background: yellow url(alpha.png);
  p.special {
    background: url(beta.png), yellow url(alpha.png);

This solution would also remove the need to redefine
backgrounds when you want to add more through a
different selector, and it would be more backwards

The obvious problem is the strange syntax.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
Received on Monday, 16 January 2006 21:13:52 UTC

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