Re: Selectors grammar

Matthew Brealey wrote:

> ID should be 
> 
> id:
> : "#" ID
> ;
> 
> with ID defined as
> 
> {idstart}{idchar}*
> 
> with 
> idstart	[a-z]|{escape}
> idchar	[a-z0-9-]|{escape}
> 
> These definitions are better in that, as well as removing the error,
> they address the anomalous situation whereby P./* */class is valid,
but
> P#/* */id is not (P/* */#id is).

Eeehhhh. Possibly a good catch, Matthew... I don't remember
where this difference comes from in CSS 2  and I think that
it has been directly adapted from the CSS 1 grammar after a
very light rewriting.

Maybe Bert or Hakon can confirm that ?

</Daniel>


___________________________________________________________
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr

Received on Monday, 15 May 2000 11:31:53 UTC