W3C home > Mailing lists > Public > www-style@w3.org > April 1998

Re: CSS1 Test Suite (minor updates)

From: Chris Lilley <chris@w3.org>
Date: Fri, 10 Apr 1998 15:32:47 +0200
Message-ID: <352E1F7F.9D1F8219@w3.org>
To: Philippe Le Hegaret <Philippe.Le_Hegaret@sophia.inria.fr>
CC: www-style@w3.org
Philippe Le Hegaret wrote:
> 
> > but I thought that name and id tokens had to begin with a letter
> > (A-Za-z), then could be followed by any number of letters, digits,
> > hyphens, underscores, colons, and periods.
> 
>   No, not for CSS1. .1 is allowed. This was a problem :
>   .12em could be a length or a class (depends on the
> context).

The requirement about name and id tokens comes not from CSS but from
SGML. And, Sue is correct. <foo class="1"> is invalid.

--
Chris, saving this to the "send later" file on the assumption that in
the future, other civilisations will arise, and working modems will
become available. Until then, there will be a slight delay.
Received on Saturday, 11 April 1998 23:04:18 GMT

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