W3C home > Mailing lists > Public > www-style@w3.org > July 1999

Re: IDs *not* in selectors

From: Peter Linss <peterl@netscape.com>
Date: Sat, 10 Jul 1999 22:20:43 -0700
Message-ID: <378829AB.7072AD40@netscape.com>
To: Sue Sims <sue@css.nu>
CC: www-style@w3.org
Sue Sims wrote:

> ...snip...

>
> Therefore, I propose that the flex-rule:
>
> '#' {name}      {return HASH;}
>
> be modified to read
>
> '#' {ident}     {return HASH}

Amusingly enough, that would break parsing of colors, eg:
{ color: #123456; }

You have to leave it as a valid token, you'd just have to introduce a higher
level rule rejecting the selector.

>
>
> --
> Sue Sims
> [with appreciation to DQ for the SGML crash course]
> --
> Sue Sims <sue@css.nu>
> CSS Pointers Group
> <URI:http://css.nu/>
Received on Sunday, 11 July 1999 01:21:06 GMT

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