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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 03 May 2012 17:44:08 -0700
Message-ID: <4FA32658.1080403@inkedblade.net>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: www-style@w3.org
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 GMT

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