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

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 UTC