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

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 UTC