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

Re: CSS1 Test Suite (minor updates)

From: Philippe Le Hegaret <Philippe.Le_Hegaret@sophia.inria.fr>
Date: Mon, 06 Apr 1998 23:47:17 +0200
Message-Id: <199804062147.XAA03488@koala.inria.fr>
To: www-style@w3.org

> In the section on class as selectors,
> http://www.cwru.edu/dms/homes/eam3/css-test/sec14.htm
> 
> you declare:
> 
> .1 {color: green;}
> 
> 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).

  In CSS2, digits are not allowed at this position. So .1
is invalid in CSS2 and should be write like this : .\1


		Philippe.
  


---------
Philippe Le Hegaret
Philippe.Le_Hegaret@sophia.inria.fr -- http://www.inria.fr/koala/plh/
KOALA/DYADE/BULL @ INRIA (Stagiaire) - Sophia Antipolis
Received on Monday, 6 April 1998 17:47:20 GMT

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