Re: issue with url() in CSS 2.1 grammar

* Daniel Glazman wrote:
>The issue is not related to namespaces. The following is also perfectly
>valid for the same reasons :
>
>   @import url();
>   foo { background-image: url(); }
>
>The problem is that a URL is not supposed to be zero-length...

But in a style sheet http://example.com/style.css this is the same as

   @import url(http://example.com/style.css);
   foo { background-image: url(http://example.com/style.css); }

And somewhat similar to e.g.

   @import url(#);
   foo { background-image: url(#); }

I don't think we gain much disallowing this at the core syntax level.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 27 June 2008 12:36:50 UTC