Open Bug 215531 Opened 21 years ago Updated 2 years ago

[MARGIN-C]margin collapsing quirk incorrectly applies to floats

Categories

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

x86
Windows XP
defect

Tracking

()

People

(Reporter: BijuMailList, Unassigned)

References

Details

Attachments

(1 file)

(deleted), text/html
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030721 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030721 Mozilla Firebird/0.6

please attached a.html 

Reproducible: Always

Steps to Reproduce:
1. see a.html 
2.
3.
Attached file a.html (deleted) —
The third line has problem
Confirming new.  This is apparently something we only do in quirks mode.  The
page works fine in standards mode.

Confirming to make sure this is what we want to see in quirks mode.  This rule
in quirk.css is causing the difference:

body > form:first-node, td > form:first-node, th > form:first-node,
body > p:first-node, td > p:first-node, th > p:first-node,
body > dl:first-node, td > dl:first-node, th > dl:first-node,
body > multicol:first-node, td > multicol:first-node, th > multicol:first-node,
body > blockquote:first-node, td > blockquote:first-node, th >
blockquote:first-node,
body > h1:first-node, td > h1:first-node, th > h1:first-node,
body > h2:first-node, td > h2:first-node, th > h2:first-node,
body > h3:first-node, td > h3:first-node, th > h3:first-node,
body > h4:first-node, td > h4:first-node, th > h4:first-node,
body > h5:first-node, td > h5:first-node, th > h5:first-node,
body > h6:first-node, td > h6:first-node, th > h6:first-node,
body > listing:first-node, td > listing:first-node, th > listing:first-node,
body > plaintext:first-node, td > plaintext:first-node, th > plaintext:first-node,
body > xmp:first-node, td > xmp:first-node, th > xmp:first-node,
body > pre:first-node, td > pre:first-node, th > pre:first-node,
body > ul:first-node, td > ul:first-node, th > ul:first-node,
body > menu:first-node, td > menu:first-node, th > menu:first-node,
body > dir:first-node, td > dir:first-node, th > dir:first-node,
body > ol:first-node, td > ol:first-node, th > ol:first-node {
  margin-top: 0;
}
Status: UNCONFIRMED → NEW
Ever confirmed: true
The P isn't display:inline, since 'float:left' makes something 'display:block'.
 Doing that quirk "right" is bug 33784.
Depends on: 33784
Summary: Error in display:inline style for P tag → [MARGIN-C]margin collapsing quirk incorrectly applies to floats
Assignee: layout.block-and-inline → nobody
QA Contact: ian → layout.block-and-inline
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: