Re: [CSS21] Errata to disallow 'inherit' after comma in 'font-family'

On 05/03/2012 05:39 PM, Bjoern Hoehrmann wrote:
> * fantasai wrote:
>> My understanding of the discussion was that we would disallow 'inherit' as
>> an identifier in font names, regardless of its position.
>
> This requirement would be quite non-obvious, nobody would think that a
> declaration like `font-family: Initial Caps` could be confused with a
> declaration like `font-family: initial`, the former clearly refers to a
> font name while the latter uses a special keyword.

> If the Working Group
> wants to go down that road, it should make this a rule for all ident+
> grammars and probably also for plain `ident` grammars, so it's clear the
> keywords "inherit" and "initial" and possibly others are always special.

That's the point, yes. That's why we brought it up in the context of
CSS3 Values and Units -- to exclude inherit/initial from <identifier>.

~fantasai

Received on Friday, 4 May 2012 00:44:40 UTC