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.

-David

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:25 GMT