- From: Lars Knoll <lars@trolltech.com>
- Date: Wed, 15 Jan 2003 17:08:41 +0100
- To: www-style@w3.org
Hi,
I have completely rewritten the CSS parser in khtml over the last months, and
by this occasion I stumbled over a small errors in the CSS 2.1 grammar:
"!{w}important" {return IMPORTANT_SYM;}
should be:
"!"{w}"important" {return IMPORTANT_SYM;}
My version of flex doesn't seem to handle the comment specification correctly
(the end of comments as eg "/***/" are not recognised for some reason),
although the expression looks correct to me:
\/\*[^*]*\*+([^/][^*]*\*+)*\/ /* ignore comments */
In khtml, I've gone back to the CSS1 grammar for the definition of comments.
Cheers,
Lars
Received on Wednesday, 15 January 2003 11:12:13 UTC