Re: IDs *not* in selectors

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 UTC