- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Tue, 7 Sep 2004 11:48:14 -0700
- To: <www-style@w3.org>
Analyzing CSS2.1 and CSS3 ([1],[2]) I've found that rules
for url defintion does not include '/' character.
So, following given rules:
url ([!#$%&*-~]|{nonascii}|{escape})*
"url("{w}{url}{w}")" {return URI;} ,
url(images/background.png)
cannot be treated as a valid URL. May it is better to define first rule as
url ([!#$%&*-~/]|{nonascii}|{escape})*
?
And what about whitespaces? Following rules above:
url(my background.png)
is also not valid as it contains whitespace in the middle.
Is this limitation make sence?
Andrew Fedoniouk.
Terra Informatica Software, Inc.
[1] http://www.w3.org/TR/CSS21/grammar.html#q2 and
[2] http://www.w3.org/TR/2003/WD-css3-syntax-20030813/#lexical
Received on Tuesday, 7 September 2004 18:48:49 UTC