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

2008/12/1 Stanimir Stamenkov <s7an10@netscape.net>:
>
> Mon, 1 Dec 2008 15:53:44 -0500, /Ambrose Li/:
>>
>> 2008/12/1 Sylvain Galineau <sylvaing@microsoft.com>:
>>
>>> 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.
>
> Doesn't such an image never need to take the space from the text-bottom to
> the baseline?  In my opinion it is more likely for such an image to have the
> height from the text-bottom to the text-top which should be the same as 1em,
> or I'm missing something?

It may or may not. If an image is to stand for a glyph with no
Unicode, it could be a lowercase letter, in which case it would take
the space between the baseline and the descender line.

(And yes, I did run into this problem myself, though it was before
CSS/Unicode times.)
-- 
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 22:11:24 UTC