Re: [css2.1] [css3-fonts] <family-name> ambiguous - partially quoted names allowed?

Bert Bos <bert@w3.org> wrote:
> 
> The intent can, I think, be captured by this annotated grammar:
> 
>   Value: [ [ <family-name> | <generic-family> ] [ , <family-name> |
>     <generic-family> ]* ] | inherit;
>   <generic-family>: serif | sans-serif | cursive | fantasy |
> monospace; <family-name>: STRING | IDENT+;  /* see restriction below
> */
> 
> where the restriction is that <family-name> cannot be one of the
> single IDENTs serif, sans-serif, cursive, fantasy, monospace,
> inherit, default or initial.
> 
> (The spec is not worded very well with respect to 'default' 
> and 'initial', implying that it is somehow obvious that they are 
> reserved, although it is only obvious if you've read CSS3 Values And 
> Units...)

Thanks, this is exactly what I needed to know.

zw

Received on Wednesday, 22 April 2009 16:34:59 UTC