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

Re: [css21] whitespace in URI values

From: David Woolley <david@djwhome.demon.co.uk>
Date: Sat, 12 Nov 2005 22:15:04 +0000 (GMT)
Message-Id: <200511122215.jACMF5g12484@djwhome.demon.co.uk>
To: www-style@w3.org

> 2. @import url(" test.css");

You are into error recovery here.  The reason that space is not valid in
URIs is that it is not always possible to tell the difference between
a URI that was line broken at a space and one that was line broken because
it would have gone off the paper otherwise.  As such spaces ought to be 
ignored.  However, in the address bar, it is often more convenient to 
type a space than %20, so the error recover tends to honour spaces.  That
gets generalised to URLs in the document itself.
Received on Saturday, 12 November 2005 22:15:22 GMT

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