W3C home > Mailing lists > Public > www-style@w3.org > October 2009

Re: Inconsistent treatment of "em" and "ex" unit when used to ?specify "font-size" [CSS21][css3-values]

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 26 Oct 2009 13:18:57 -0400
To: www-style@w3.org
Message-ID: <20091026171857.GA32083@pickering.dbaron.org>
On Monday 2009-10-26 16:59 +0000, Philip TAYLOR wrote:
> Is there any reason why "ex" does not also reference
> the parent element's font size if set on the 'font-size'
> property, as if "ex" units are used to specify font-size,
> there would appear to be a problem of self-reference
> (see example below).

This looks to me like a bug in both CSS 2.1 and css3-values.

(Gecko implements 'ex' like 'em.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 26 October 2009 17:19:30 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC