Closed Bug 35772 Opened 24 years ago Closed 24 years ago

quirk relating to empty P elements should be removed [P-margin]

Categories

(Core :: Layout, defect, P1)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: buster)

References

Details

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

Attachments

(1 file)

DESCRIPTION:  In order to attempt to comply with a vague statement in HTML 4.0,
Kipp put in some code somewhere in Layout that causes empty P elements not to
take up space, even if they have CSS applied to them.  I brought this up on
www-html, and the reply from Dan Connolly (chairman of the HTML WG at the time,
according to http://www.w3.org/TR/REC-html40/about.html#h-1.3 ) makes me think
this was not the intent of the spec.  See:

http://lists.w3.org/Archives/Public/www-html/2000Apr/0024.html (my message)
http://lists.w3.org/Archives/Public/www-html/2000Apr/0126.html (Dan Connolly)
http://lists.w3.org/Archives/Public/www-html/2000Apr/0128.html (Dan Connolly)

I'll try to come up with steps to reproduce later, if you want.  I think Ian has
some tests for the (incorrect) behavior.
Reassigning to buster
Assignee: troy → buster
Just to clarify, when David says "quirk" he means in its literal meaning and
not in the Mozilla "NavQuirks Mode" meaning.

My testcases will hopefully be fixed at the start of May.
Blocks: html4.01
OS: Linux → All
Hardware: PC → All
Whiteboard: (py8ieh: fix testcases)
*** Bug 14030 has been marked as a duplicate of this bug. ***
Target Milestone: --- → M17
*** Bug 37349 has been marked as a duplicate of this bug. ***
next on my list...
Severity: normal → major
Status: NEW → ASSIGNED
Priority: P3 → P1
Summary: quirk relating to empty P elements should be removed → quirk relating to empty P elements should be removed [P-margin]
Nom. nsbeta3, recc. nsbeta3+. Need to nail down correctness of CSS handling 
issues by nsbeta3. Dropping elements is bad.
Keywords: nsbeta3
I have the basic fix for handling <P>'s of all sorts in a backwards compatible 
way.
Whiteboard: (py8ieh: fix testcases) → (py8ieh: fix testcases) [fix in hand]
*** Bug 4946 has been marked as a duplicate of this bug. ***
transferring whiteboard and keywords from duped bug 4946
Keywords: nsbeta34xp, nsbeta2, testcase
Whiteboard: (py8ieh: fix testcases) [fix in hand] → (py8ieh: fix testcases) [fix in hand] [nsbeta2+][6/22]
*** Bug 33095 has been marked as a duplicate of this bug. ***
*** Bug 35600 has been marked as a duplicate of this bug. ***
*** Bug 28526 has been marked as a duplicate of this bug. ***
*** Bug 33385 has been marked as a duplicate of this bug. ***
*** Bug 37012 has been marked as a duplicate of this bug. ***
*** Bug 40110 has been marked as a duplicate of this bug. ***
Attached file minimized test case
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: (py8ieh: fix testcases) [fix in hand] [nsbeta2+][6/22] → (py8ieh: fix testcases) [nsbeta2+][6/22]
*** Bug 42568 has been marked as a duplicate of this bug. ***
Fixed in the June 19th build (2000061908).
Status: RESOLVED → VERIFIED
The orig. bug was bug 2589. -dbaron
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: