Re: [CSS21] The grammar of url() token

Philip Taylor (Webmaster) wrote:
> 
> 
> 
> Bert Bos wrote:
> 
>  > But to answer the question about the comma: We wanted to preserve the
>  > possibility of adding arguments to the url(), e.g.,
>  > url(http://example.com/,cookie=hfdh455f).
> 
> That is (IMHO) a horribly ugly syntax; the delimiter
> needs to be tall if it is to be obvious, and a semi-colon
> would be far clearer to the reader than a comma (which
> actually looked like a period in the e-mail, and only
> became a clear comma when I replied using a monospaced
> font).

A better future extension would be URL fallbacks, imo:

   background-image: url(image.svg, image.png, image.gif, image.jpg);

~fantasai

Received on Wednesday, 27 February 2008 05:59:21 UTC