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

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 04 May 2012 02:39:36 +0200
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Message-ID: <an86q7l2enj6erf70h9rsep2p67pais536@hive.bjoern.hoehrmann.de>
* 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.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 4 May 2012 00:40:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:15 UTC