Closed Bug 56787 Opened 24 years ago Closed 24 years ago

Last line leading is wrong in List Items (<li>) when <font size="2">

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: john, Assigned: dbaron)

References

()

Details

See example at http://johnandlucy.com/linespace.html. On Linux nightly build 2000101212 (and others), the leading before the last line of a List Item within an Unordered List is too large if the Font Size is set to "2". It seems right on size "3" or above. I've seen this for a while. It particularly shows up in items on the BBC News pages, where the font size="2" HTML directive is often used in bulleted lists (see the list three-quarters of the way down this page: http://news.bbc.co.uk/hi/english/health/medical_notes/newsid_413000/413496.stm)
Works for me with Build 2000101520 in WinNT
Still broken on Linux build 2000101521. Might be an X Window font problem - using XFree86-4.0.1 here.
This also works for me in build 2000101321 in Linux with Xfree86-3.3.6
If you look closely, I think this is what 4.x did as well. (try size=1 if you can't see it). This was emulated intentionally for quirks mode. The first line of LI elements and the last line of LI, DT, and DD elements cannot have the line-box height fall below the line-height of the parent block. (This is true of all lines in strict mode.)
Can't see any abnormal behavior in Linux 10-18-09. WFM?
No news-marking WFM also on Linux 10-24-09.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Reopening. It doesn't work for me. It probably requires scalable fonts to see the bug. However, it is invalid, so...
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Assignee: clayton → dbaron
Assigning to myself...
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → INVALID
...and marking invalid (see my 10-16 comments). Note that this is quirks mode only. See http://bugzilla.mozilla.org/showattachment.cgi?attach_id=5800 (attached to bug 26998) for a demonstration of 4.x's behavior and how we emulate it in quirks mode.
Yes, <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ... etc, naming "strict.dtd" works for me, too. My testcase has been altered, and it now displays perfectly in Mozilla nightly 2000102321 on Linux. If only people would now improve their HTML...
Yes, we can always hope. VERIFIED.
Uh, really marking VERIFIED this time.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.