W3C home > Mailing lists > Public > www-style@w3.org > May 2000

Re: Selectors grammar

From: Daniel Glazman <glazou_2000@yahoo.fr>
Date: Mon, 15 May 2000 17:31:19 +0200 (CEST)
Message-ID: <20000515153119.15841.qmail@web3306.mail.yahoo.com>
To: www-style@w3.org
Cc: bert.bos@sophia.inria.fr, howcome@opera.no
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 GMT

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