W3C home > Mailing lists > Public > www-style@w3.org > February 2006

Re: [selectors] Attribute Selector Values Beginning with Digits

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Wed, 08 Feb 2006 08:12:31 +1100
Message-ID: <43E90D3F.4090703@lachy.id.au>
To: Boris Zbarsky <bzbarsky@mit.edu>
CC: www-style <www-style@w3.org>

Boris Zbarsky wrote:
> Lachlan Hunt wrote:
>>   For the attribute value selectors, is it required that values 
>> beginning with digits must either be quoted or the first digit escaped? 
> Yes.  See 
> http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#attribute-representation 
>   Attribute values must be identifiers or strings.
> Since 0 is not an identifier,

Oh, it's so obvious now that you point it out.  I read that several 
times, but completely missed the part about it being an identifier, I 
was only looking at strings :-).  Thanks, I e-mailed a bug report to the 
IE team.

Lachlan Hunt
Received on Tuesday, 7 February 2006 21:12:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:23 UTC