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

2008/12/1 Sylvain Galineau <sylvaing@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 ?

A lot of times an image is used as a character (e.g., which has no
Unicode, or which is unusual and so absent in most common fonts). A
cap-height unit would be more useful in this case.


-- 
cheers,
-ambrose

The 'net used to be run by smart people; now many sites are run by
idiots. So SAD... (Sites that do spam filtering on mails sent to the
abuse contact need to be cut off the net...)

Received on Monday, 1 December 2008 20:54:20 UTC