Re: Innumerable UI WD errors

--- I wrote:
> key-equivalent
> --------------
> 
> <q>
> A <key-press-combination> is one or more characters with one or more
> modifier keys separated by dashes ('-'). 
> </q>
> 
> This won't work. The tokenization of CSS is such that this is
> unworkable.
> 
> Take this example from the appendix:
> 
> [accesskey]:enabled
> {
>  key-equivalent:accesskey-attr(accesskey);
> }
> 
> That would be parsed as an IDENT, a '(', a IDENT and a ')'. 
> 
> What is desired is for it to be parsed as IDENT DELIM FUNCTION IDENT
> ')',
> but because the longest match determines the token, this wouldn't
> happen.
> 
> There is no way around this because the standard declaration production
> (necessarily) includes IDENT.
> 
> It would be better to use the underscore.

Or even '+', which is the conventional symbol used for these purposes.


=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Received on Sunday, 27 February 2000 20:13:30 UTC