Re: [selectors] Attribute Selector Values Beginning with Digits

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 
and and all of which have the same language 
after the list of the four attribute selectors:

   Attribute values must be identifiers or strings.

Since 0 is not an identifier, the selector [title=0] is invalid and a conforming 
UA must discard the corresponding rule.


Received on Tuesday, 7 February 2006 16:58:24 UTC