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

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

From: David Woolley <forums@david-woolley.me.uk>
Date: Sat, 01 Mar 2008 11:25:49 +0000
Message-ID: <47C93D3D.8010109@david-woolley.me.uk>
To: www-style@w3.org

Christof Hoeke wrote:

> --- CSS3 Syntax Module (latest Working Draft 13 August 2003) ---
> defines it a bit different:
>     urlchar ::=     [#x9#x21#x23-#x26#x27-#x7E] | nonascii | escape
>     URI     ::=     "url(" w (string | urlchar* ) w ")"

Making tab (U+0009) valid in URLs looks wrong to me.  The reason that 
space and newline are not allowed is that, when printed, they met get 
confounded as the result of text wrapping (noting that printed URLs may 
get there by means other than specific software for handling web 
material).  When printed, there may be problems in determining the 
number of spaces.  Printing includes handwriting.

Tab would seem to have the same problem as spaces.

David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Saturday, 1 March 2008 11:26:08 UTC

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