Closed Bug 4304 Opened 26 years ago Closed 25 years ago

line spacing problem that is solved by inserting a space before </font> tag

Categories

(Core :: Layout, defect, P2)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 6865

People

(Reporter: chrisn, Assigned: buster)

References

()

Details

This bug was forwarded to me by one of MozillaZine's readers. The problem seems to be extra linespacing between the last two lines of a piece of text which can be alleviated by adding an extra space before the close font tag. A link to a simple example is below. This problem is visible in the 3-24-99 nightly build on Windows 98. Visit the link below, and try resizing the window so the lines of text wrap a couple of times. You'll see the line spacing error on the top sample. The bottom sample shows the problem resolved. Here's text from a newsgroup conversation about this specific bug: "http://www.netmeet.net/bug_not_fixed.htm The workaround for this bug is to put a space before the end of each font tag. This is a real pain in the ass and I'm not sure why it happens. I'm copying the Internet Explorer team so they can fix this issue on future versions of their browser. The problem shows up mostly in "size 1" font tags, but I've seen it at other sizes as well." I have verified that this problem is visible in NN4.5, and IE5 as well. This bug was forwarded to me by Robert Gelb (rgelb@intekca.com).
Assignee: troy → kipp
Status: NEW → ASSIGNED
Priority: P3 → P2
Whiteboard: (py8ieh:will attempt to reproduce using CSS)
Can this be reproduced using CSS? I will investigate.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Whiteboard: (py8ieh:will attempt to reproduce using CSS)
Believe it or not, it is the fact that *adding* the space *removes* the spacing which is the bug, not that removing the space adds the spacing. That is, according to CSS2, the extra spacing is the correct behaviour. The dodgy behaviour you see is due to the block level parent's line-height being ignored. This is covered by bug 6865. *** This bug has been marked as a duplicate of 6865 ***
Status: RESOLVED → VERIFIED
Agreed. This is a duplicate of 6865.
You need to log in before you can comment on or make changes to this bug.