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

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