Closed
Bug 108713
Opened 24 years ago
Closed 24 years ago
line height is too small
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
INVALID
mozilla0.9.7
People
(Reporter: bugzilla, Assigned: dbaron)
Details
Attachments
(2 files)
if you go to
http://gemal.dk/test/news.html
you'll see that the line height is too small. In IE it's rendered fine.
On http://gemal.dk/test/news2.html I've added line-height: 20px and then then
line height seem ok. So there's something wrong with the default line height.
build 20011106
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.6
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
the online testcase is no longer there...
| Reporter | ||
Comment 3•24 years ago
|
||
| Assignee | ||
Comment 4•24 years ago
|
||
Is this a recent regression? When you initially filed it I thought it was a
regression from my changes the day before, but is it? And what is the expected
behavior on the "reduced testcase" -- I don't really see a problem there.
Component: Style System → Layout
| Reporter | ||
Comment 5•24 years ago
|
||
it was just that:
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=56773
is rendered different in Mozilla and in IE.
In IE there's more space between the line. Bug in Mozilla or IE?
and when having non-existing images like in:
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=56770
it's all wrong
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Some weird things with attachment 56773 [details]:
- the 'width' property is ignored (on both class declarations)
- the padding property is ignored too (changing to a large value or changing
to 'margin' doesn't make a difference)
- adding 'border: 1px solid black' shows overlapping boxes.
| Assignee | ||
Comment 7•24 years ago
|
||
None of the things rbs mentioned in his previous comment are bugs. the padding
should affect the position of the border and background, but not the position of
anything else, and width should not apply. (since the relevant elements are
non-replaced inline elements.)
| Assignee | ||
Comment 9•24 years ago
|
||
margin should never do anything on inline non-replaced elements
| Assignee | ||
Comment 10•24 years ago
|
||
Judging by the comments, I think the difference between Mozilla and IE is that
IE is interpreting box properties incorrectly on inline non-replaced elements.
It should be using the 'line-height' and 'vertical-align' properties to do line
layout, not the box properties. Marking invalid, since the bug is in IE.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•