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

Re: CSS1 Test Suite (minor updates)

From: Eric A. Meyer <emeyer@sr71.lit.cwru.edu>
Date: Tue, 7 Apr 1998 11:55:43 -0500
Message-Id: <v03102805b1500adf6db8@[129.22.138.152]>
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

   Hmmm... you're right.  I'll have to decide how I want to handle this one.

--
Eric A. Meyer  -  eam3@po.cwru.edu  -  http://www.cwru.edu/home/eam3.html
 Hypermedia Systems Manager
 Digital Media Services                http://www.cwru.edu/dms/dms.html
 Case Western Reserve University       http://www.cwru.edu/
Received on Tuesday, 7 April 1998 12:10:08 GMT

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