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

Re: Bug Report: CSS3 Validation of "ch" unit

From: David Dorward <david@dorward.me.uk>
Date: Mon, 26 Oct 2009 11:06:03 +0000
Message-Id: <26A82B3B-064A-45F0-BAB7-67507BB3F852@dorward.me.uk>
To: www-validator-css@w3.org
On 26 Oct 2009, at 10:54, Philip TAYLOR wrote:
> em  	the font size of the element (or, to the parent element's font  
> size if set on the 'font-size' property)
> ex 	the x-height of the element's font
>
> Is there any reason why "ex" does not also reference
> the parent element's font size if set on the 'font-size' property ?


Presumably because the size of the em depends only on the font-size  
wile the ex depends on the combination of the font-size and the font- 
family (which is covered by the font shorthand property).

-- 
David Dorward
http://dorward.me.uk
Received on Monday, 26 October 2009 11:06:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:25 GMT