Re: CSS2 tokenizer

Sho Kuwamoto writes:
 > I've just started looking at the CSS2 working draft, and I notice
 > that rgb() and url() are specified in the flex source explicitly,
 > but rect() is missing. Is this an oversight?
 > 
 > What I'd really love to see is for '(' to be treated lexically in
 > a more general way, just as '[' is.

Yes, I'm trying to rewrite the tokenizer in that way. I think it is
possible for rect(), rgb(), and whatever else we need in the future,
but url() will remain an exception.

Since the URLs inside the parentheses don't have to be quoted, the
whole url(...) must be a single token.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/INRIA
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 93 65 76 92            06902 Sophia Antipolis Cedex, France
  +33 (0)4 92 38 76 92 (<--- after 5 Jan 1998)

Received on Friday, 23 January 1998 08:18:28 UTC