W3C home > Mailing lists > Public > www-style@w3.org > April 2009

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

From: Zack Weinberg <zweinberg@mozilla.com>
Date: Wed, 22 Apr 2009 09:34:11 -0700
To: Bert Bos <bert@w3.org>
Cc: W3C Emailing list for WWW Style <www-style@w3.org>
Message-ID: <20090422093411.6d1ee667@mozilla.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT