Re: [css21] Wrong font-family syntax

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 UTC