Re: [css21] Wrong font-family syntax

(12/05/10 21:19), Tab Atkins Jr. wrote:
> 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.  ^_^

If possible, I think we should also include '#' in 1.4.2.1[1]. All
'background-*' in CSS3 B&B could have used this syntax if '#' had been
in CSS 2.1.

[1] http://www.w3.org/TR/CSS21/about.html#value-defs


Cheers,
Kenny

Received on Thursday, 10 May 2012 13:25:34 UTC