See URL for test case and sample code. line-height is a CSS property to control the vertical space between lines of text. I imagine this will involve the vertical spacing of elements in the content model (cc'ing kipp). ------- Additional Comments From angus 08/02/98 02:16 ------- Actually, another, better test case is here: http://www.w3.org/Style/CSS/Test/current/sec548.htm Unfortunately, this case crashes my viewer on win95.
It's now supported.
Line heights in percentages or ems seem to be in terms of the normal line height rather than in terms of the font size, as they should be. The line-height in pixels seems too big (the font size does too). There are also some wording errors in the test 5.2.7. It should say % of font- size rather than % of normal, but these errors should be fixed soon. ‰
Every test on this page now works correctly; note that the text for test9 is still wrong (in several ways!) and misleads one to believe that we are doing the wrong thing.
OK another bug (on the other (newly updated) line height test page - I changed the URL from 527 to 548). Your handling of a SPAN within an element with additional line-height seems incorrect. I'm 95% sure that the line-height is outside of the inline block model. Also, I don't think the way you are handling line height is consistent with the 1/2 leading above, 1/2 leading below model. (I never quite understood what that implied for the beginning and the end of the paragraph, either. You may want to ask H&kon about that, unless it's clear to you from the spec.)
Ignore my previous comments and see what I wrote on bug 1990.
Setting all current Open/Normal to M4.
This test now works as desired; the line-height property when applied to the span with color now properly surrounds it with half-leading.
All the problems herein described are verified fixed. Other problems are on bug 1278.