Closed
Bug 585
Opened 27 years ago
Closed 26 years ago
line-height property not supported
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Tracking
()
VERIFIED
FIXED
M4
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.
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Comment 2•26 years ago
|
||
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.
‰
Updated•26 years ago
|
Resolution: FIXED → ---
Comment 3•26 years ago
|
||
‰
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 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.
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Updated•26 years ago
|
Resolution: FIXED → ---
Comment 5•26 years ago
|
||
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: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 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.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 9•26 years ago
|
||
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.
Description
•