W3C home > Mailing lists > Public > www-style@w3.org > November 2008

Re: [css3-background] Delimiter character in the new background color fallback syntax

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 14 Nov 2008 19:04:28 -0800
Message-ID: <491E3C3C.4020501@inkedblade.net>
To: James Hopkins <james@idreamincode.co.uk>
CC: www-style@w3.org

James Hopkins wrote:
> 
> In this new syntax, I'm noticing that a forward slash is used as the 
> delimiter. However on other fallback schemes such as inserting and 
> replacing content with the 'content' property 
> (http://www.w3.org/TR/css3-content/#content) and 'font-family' fallback, 
> we're using a comma as the delimiter.
> 
> Just for my own clarity, could someone explain to me why it's been 
> decided to use a forward slash as the delimiter in this instance?

Comma is already used to delimit background layers.

Note, there's a good chance the slash will be removed. It causes a
parsing conflict in the background shorthand.

~fantasai
Received on Saturday, 15 November 2008 03:05:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:17 GMT