W3C home > Mailing lists > Public > www-style@w3.org > December 2008

RE: [css3-values] cap-height unit?

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Mon, 1 Dec 2008 12:33:21 -0800
To: "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <5D97C7EB4695104AB6345E56FE356B19364223D550@NA-EXMSG-C125.redmond.corp.microsoft.com>

> Would it be useful to add a unit representing the height of capitals
> in the current font?  [snip] It seems like it could be useful when sizing
> images to fit within a line of text, and it further seems like the
> implementation could share a lot of code with the implementation of the 'ex' unit.

My first reaction aligns with Stanimir's suggestion i.e. wouldn't a line-height multiple be more useful for this use-case ?
Received on Monday, 1 December 2008 20:34:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:42 UTC