W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css21] Wrong font-family syntax

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 10 May 2012 15:19:33 +0200
Message-ID: <CAAWBYDAbY=xnWd=MbKQH3Te-EpN=ze3NFvwhr8yYA0sDzz6iBw@mail.gmail.com>
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Thu, May 10, 2012 at 3:01 PM, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> The "Value" entry for 'font-family' currently says
>
> [[ <family-name> | <generic-family> ] [, <family-name>| <generic-family>]* ]
> | inherit
>
> which is wrong since any instance of <generic-family> in the middle or end
> of the list will not get an immediately-preceding comma. It should be
> something like
>
> [ [ <family-name> | <generic-family> ] [,[ <family-name> | <generic-family>
> ]]* ] | inherit

Or:

[ <family-name> | <generic-family> ]#

This comma problem is the whole reason we added the # multiplier.  ^_^

~TJ
Received on Thursday, 10 May 2012 13:20:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT