W3C home > Mailing lists > Public > www-style@w3.org > June 2000

RE: Confusion with CSS String syntax.

From: <JOrendorff@ixl.com>
Date: Fri, 23 Jun 2000 10:50:26 -0400
Message-ID: <CD8E2CDBC6D0D111ACB900805FBBD97E0263047E@memntsxchange.mem.ixl.com>
To: www-style@w3.org
> Looking at the current syntax for a CSS String below:
>   string 
> 	{string1}|{string2}
> 
>   string1 
> 	\"([\t !#$%&(-~]|\\{nl}|\'|{nonascii}|{escape})*\"
>   string2  
> 	\'([\t !#$%&(-~]|\\{nl}|\"|{nonascii}|{escape})*\'
> 
> A simple string like "hello world" is invalid.  The syntax seems too
> restrictive for general strings. Am I misinterpreting something?

I think the part that says [...(-~] means to include all
the characters from ( to ~.  In ASCII or Unicode, that
spans codepoints 40 to 126 and includes all the ASCII
letters and digits, plus assorted punctuation.

-- 
Jason Orendorff
Received on Friday, 23 June 2000 10:51:05 GMT

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