Closed Bug 4946 Opened 26 years ago Closed 25 years ago

<P> tag used as spacers between <LI> tags in unordered lists [P-Margin]

Categories

(Core :: Layout, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED DUPLICATE of bug 35772

People

(Reporter: fishy, Assigned: buster)

Details

(Keywords: testcase, Whiteboard: [nsbeta2+][6/22])

Under Netscape Communicator, putting the <P> tag between <LI> tags allows you to space you unordered lists. However, this spacing does not work under mozilla (as of the latest nightly build 4/10/99). I'm not sure whether this is an error or simply something that is not allowed under the actual html spec. The following html snippet demonstrates what I mean: ---------------------------------------------------- <UL> <LI>Blah <P> <LI>blah </UL> ---------------------------------------------------- Versions I was using: Netscape - 4.51 Mozilla - Tried to find version numbers. couldn't find them. Other than the build id, which was 1999041010
Assignee: troy → kipp
Status: NEW → ASSIGNED
Severity: minor → major
Priority: P3 → P5
Summary: <P> tag used as spacers between <LI> tags in unordered lists → {compat} <P> tag used as spacers between <LI> tags in unordered lists
Target Milestone: M6
The page lays out correctly, according to the CSS and HTML4 specs. However, its not compatible with nav4.
Whiteboard: [TESTCASE]
That's a definitive testcase there.
Another note for later: The reason no vertical space is introduced is because the P element ends up empty (as it should). According to the HTML4 spec, empty P elements should have no visual affect.
Severity: major → normal
Updating to default Layout Assignee...kipp no longer with us :-(
Why are you re-reassing layout bugs? Do NOT touch layout bugs. The bugs are assigned to Kipp so they can stay neatly organized until we have a new owner for the block/inline code.
Summary: {compat} <P> tag used as spacers between <LI> tags in unordered lists → {compat} [BLOCK] <P> tag used as spacers between <LI> tags in unordered lists
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
mine! mine mine mine! all mine! whoo-hoo!
Assignee: kipp → buster
With the recent decision to remove the ignoring of empty paragraphs, this should fix itself. Removing "compat" keyword, as this is now a standard compliance issue. David -- the empty paragraph here will now not collapse away. The margins on this empty paragraph will in fact become rather important, which seems to me to go completely against the spirit of the spec. Hmm... I hope you're happy! ;-)
Summary: {compat} [BLOCK] <P> tag used as spacers between <LI> tags in unordered lists → <P> tag used as spacers between <LI> tags in unordered lists [BLOCK]
Whiteboard: [TESTCASE]
BTW, see bug 35772 for the reasoning behind the change of the rules.
Status: NEW → ASSIGNED
Priority: P3 → P2
Summary: <P> tag used as spacers between <LI> tags in unordered lists [BLOCK] → <P> tag used as spacers between <LI> tags in unordered lists [P-Margin]
Marking 4xp. Nom. nsbeta2, recc. nsbeta2 6/22, becoming nsbeta3+ if miss. Backward compat. with behavior of Nav4 for basic HTML 3.2 content on the web. Lots of folks used these hacks to control spacing.
Keywords: 4xp, nsbeta2
[nsbeta2+][6/22]
Whiteboard: [nsbeta2+][6/22]
this is a dup of 35772 (a more general bug that includes this case) *** This bug has been marked as a duplicate of 35772 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Agreed. Marking verified dup of 35772.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.