W3C home > Mailing lists > Public > www-style@w3.org > January 2013

[css3-values] Which font to use for the ex unit?

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 17 Jan 2013 15:43:06 +0100
Message-ID: <50F80DFA.80902@kozea.fr>
To: "CSS WWW Style (www-style@w3.org)" <www-style@w3.org>

css3-values defines the ex unit as "Equal to the font's x-height." (and 
then goes into details of what the x-height is) but does not say which 
font to use. This can be ambiguous eg. when font-family contains 
multiple valid family names.

For comparison, the ch unit is based on "the '0' glyph found in the font 
used to render it." which is well-defined, based on the font matching 

Simon Sapin
Received on Thursday, 17 January 2013 14:43:30 UTC

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