W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: vertical-align and line-height

From: David Hyatt <hyatt@apple.com>
Date: Thu, 26 Feb 2009 13:28:27 -0600
Cc: www-style@w3.org
Message-id: <B0E06EF0-066E-4F64-994F-EB015B66AF17@apple.com>
To: "L. David Baron" <dbaron@dbaron.org>
On Feb 26, 2009, at 1:27 PM, L. David Baron wrote:

> On Thursday 2009-02-26 13:20 -0600, David Hyatt wrote:
>> Is this the half-leading that is intrinsic to the font, or the half-
>> leading according to specified line-height in CSS?
>
> The latter.  The leading is the CSS-specified line-height minus
> the font-derived height.  The half-leading is half that.
>
> -David

Yeah I get it now.  WebKit is doing the right thing for text-top.   
It's just a bug in text-bottom.  Thanks for the clarifications.  Now I  
can fix it. :)

dave
(hyatt@apple.com)
Received on Thursday, 26 February 2009 19:29:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:16 GMT