Closed Bug 585 Opened 27 years ago Closed 26 years ago

line-height property not supported

Categories

(Core :: CSS Parsing and Computation, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: angus, Assigned: buster)

References

()

Details

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.
Status: NEW → ASSIGNED
Component: Unknown → Style System
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
It's now supported.
Status: RESOLVED → REOPENED
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. ‰
Resolution: FIXED → ---
‰
Status: REOPENED → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
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.
Resolution: FIXED → ---
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.)
Status: REOPENED → ASSIGNED
Ignore my previous comments and see what I wrote on bug 1990.
Setting all current Open/Normal to M4.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
This test now works as desired; the line-height property when applied to the span with color now properly surrounds it with half-leading.
Status: RESOLVED → VERIFIED
All the problems herein described are verified fixed. Other problems are on bug 1278.
You need to log in before you can comment on or make changes to this bug.