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)
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)
Comment 1•24 years ago
|
||
Works for me with Build 2000101520 in WinNT
Reporter | ||
Comment 2•24 years ago
|
||
Still broken on Linux build 2000101521. Might be an X Window font problem -
using XFree86-4.0.1 here.
Comment 3•24 years ago
|
||
This also works for me in build 2000101321 in Linux with Xfree86-3.3.6
Assignee | ||
Comment 4•24 years ago
|
||
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.)
No news-marking WFM also on Linux 10-24-09.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 7•24 years ago
|
||
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 | ||
Updated•24 years ago
|
Assignee: clayton → dbaron
Assignee | ||
Comment 8•24 years ago
|
||
Assigning to myself...
Assignee | ||
Updated•24 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 9•24 years ago
|
||
...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.
Reporter | ||
Comment 10•24 years ago
|
||
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...
Comment 11•24 years ago
|
||
Yes, we can always hope. 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.
Description
•