Note: There are a few cases of duplicates in user autocompletion which are being worked on.

line-height property not supported

VERIFIED FIXED in M4

Status

()

Core
CSS Parsing and Computation
P2
normal
VERIFIED FIXED
19 years ago
18 years ago

People

(Reporter: Angus Davis, Assigned: buster)

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

19 years ago
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

19 years ago
Status: NEW → ASSIGNED
Component: Unknown → Style System

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 1

19 years ago
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 → ---
‰

Updated

19 years ago
Status: REOPENED → ASSIGNED

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago19 years ago
Resolution: --- → FIXED

Comment 4

19 years ago
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.)

Updated

19 years ago
Status: REOPENED → ASSIGNED
Ignore my previous comments and see what I wrote on bug 1990.

Comment 7

19 years ago
Setting all current Open/Normal to M4.

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago19 years ago
Resolution: --- → FIXED

Comment 8

19 years ago
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.