W3C home > Mailing lists > Public > www-style@w3.org > March 2011

Re: line-height limitations

From: David Hyatt <hyatt@apple.com>
Date: Wed, 16 Mar 2011 14:07:10 -0500
Cc: "www-style@w3.org list" <www-style@w3.org>
Message-id: <86831D04-BAC2-403C-B597-6DE78D9E6B77@apple.com>
To: "L. David Baron" <dbaron@dbaron.org>
Rule 5 talks about a "text" value, but it's not included in the defined set.

"For each box that has ‘text’ in ‘line-box-contain’, the top of the line box must be at least as high as the top of each glyph in the box (excluding those in child elements). The bottom of the line box must be at least as low as the bottom of each glyph in the box (excluding child elements)."

That sounds like your "glyphs" suggestion, no?


On Mar 16, 2011, at 1:54 PM, L. David Baron wrote:

> On Wednesday 2011-03-16 13:40 -0500, David Hyatt wrote:
>> (2) We could add a property just to specify this fitting behavior.
>> For example:
>> line-height-policy: normal | fit;
>> I threw a prototype implementation up in a bug that does just that:
>> https://bugs.webkit.org/show_bug.cgi?id=56388
> For what it's worth, I already have a proposal for a policy property
> for line-height:
>  http://dev.w3.org/csswg/css3-linebox/#LineStacking
> I could imagine adding a 'glyphs' value to that property; doing so
> would allow a declaration like 'line-box-contain: block replaced
> glyphs'.
> -David
> -- 
> L. David Baron                                 http://dbaron.org/
> Mozilla Corporation                       http://www.mozilla.com/
Received on Wednesday, 16 March 2011 19:07:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:44 UTC