W3C home > Mailing lists > Public > www-style@w3.org > November 2003

Re: Ambiguities in using 'inherit' in 'font' shorthand

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 25 Nov 2003 15:15:12 -0800
To: www-style@w3.org
Message-ID: <20031125231512.GA22368@darby.dbaron.org>

On Wednesday 2003-11-26 01:10 +0200, Jukka K. Korpela wrote:
> I recently noticed that there seems to be an ambiguity in CSS when the
> value 'inherit' is used for a component of the 'font' shorthand
> in the optional part.

> Am I missing something? It seems to me that this problem cannot be solved
> without disallowing 'inherit' in such cases.

It should be disallowed in such cases.  'inherit' should be allowed only
as the complete value in a declaration, never as part of a shorthand.

This should be fixed in CSS 2.1.


L. David Baron                                <URL: http://dbaron.org/ >
Received on Tuesday, 25 November 2003 18:15:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:10 UTC