Closed Bug 169749 Opened 22 years ago Closed 17 years ago

Border affects paragraph margin in list item

Categories

(Core :: Layout: Block and Inline, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: cardinal, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files, 1 obsolete file)

In paragraph-list.html, the last list item's bullet is rendered above where it
should be.  I'm able to fix it by setting the margin-top of the first paragraph
in the list item to 0px.  However this only works if the list item has a border
on its top edge (the second list item).

This is only an issue for the list items which have <a name>'s in them (The
second and fourth).

Testing with Mozilla 1.0 (via Galeon) and 1.2a.
Attached file More testcases (obsolete) —
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
*** Bug 175486 has been marked as a duplicate of this bug. ***
OS: Linux → All
Priority: -- → P3
Target Milestone: --- → Future
Is this still a problem?
It's better, but still not according to spec AFAICT:
http://www.w3.org/TR/css3-lists/#markers
"Thus, markers are aligned with the first line of an element's content"
Severity: normal → minor
.
Assignee: attinasi → block-and-inline
Component: Layout → Layout: Block & Inline
Priority: P3 → --
QA Contact: cpetersen0953 → ian
Target Milestone: Future → ---
A real life example for this can be seen in the right coloumn of this page
http://userpage.fu-berlin.de/~frers/cgi-bin/blosxom.cgi
This bug appears with current trunk builds of Firefox and Camino too.
With the checkin of bug 300030 (Refactor intrinsic width computation out of nsIFrame::Reflow) this bug seems to be resolved. :) Yay and thanks!
No, attachment 122225 [details] is still broken (the issue there is the vertical position of the bullets in the right column).
(In reply to comment #5)
> Created an attachment (id=122225) [details]
> Testcase #2, bullet should align with "P" in all cases

WFM, if I understand this correctly
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a3pre) Gecko/20070227 Minefield/3.0a3pre 

Fixed by checkin for bug 367332.
Status: NEW → RESOLVED
Closed: 17 years ago
Depends on: 367332
Resolution: --- → FIXED
Added the tests.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: