- is legal to start identifiers in CSS3 now

Dirk Mueller mueller at kde.org
Thu Oct 2 00:36:55 CEST 2003


On Tuesday 02 September 2003 22:32, David Hyatt wrote:

> The WG agreed that - is now legal, and the grammar has been amended for
> CSS3.  Here is the change.  With this change, you can replace all the
> "\2d " in your html.css and quirk.css with "-".

Thanks for the notification. I've merged this diff: 

--- tokenizer.flex      20 Feb 2003 21:09:45 -0000      1.4
+++ tokenizer.flex      26 Sep 2003 00:14:12 -0000      1.5
@@ -6,7 +6,7 @@ h               [0-9a-fA-F]
 nonascii        [\200-\377]
 unicode         \\{h}{1,6}[ \t\r\n\f]?
 escape          {unicode}|\\[ -~\200-\377]
-nmstart         [_a-zA-Z]|{nonascii}|{escape}
+nmstart         [_a-zA-Z-]|{nonascii}|{escape}
 nmchar          [_a-zA-Z0-9-]|{nonascii}|{escape}
 string1         \"([\t !#$%&(-~]|\\{nl}|\'|{nonascii}|{escape})*\"
 string2         \'([\t !#$%&(-~]|\\{nl}|\"|{nonascii}|{escape})*\'


-- 
> Looking for a KDE-related EMail-Alias ? Get one at kdemail.net for FREE! <


More information about the Khtml-devel mailing list