Closed Bug 172902 Opened 24 years ago Closed 21 years ago

Adacent margins on an element with height:0 don't collapse [MARGIN-C]

Categories

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

x86
Windows 2000
defect

Tracking

()

RESOLVED INVALID
Future

People

(Reporter: ian, Assigned: dbaron)

References

()

Details

(Keywords: css2, testcase, Whiteboard: WONTFIX?)

See http://www.hixie.ch/tests/adhoc/css/box/block/margin-collapse/014.html There's an element with height:0 with in-flow content inside, but we don't collapse the margins of the block with height:0.=
Keywords: css2, testcase
QA Contact: petersen → ian
I actually think this should be WONTFIX, and the spec should be clarified (or changed, depending on how clear you think the current spec is). I think this would be rather difficult to implement, although I could be wrong.
Status: NEW → ASSIGNED
Priority: -- → P4
Whiteboard: WONTFIX?
Target Milestone: --- → Future
The spec _was_ clarified. This is a testcase for the revised CSS 2.1.
To wit, "Collapsing is based on the computed value of 'padding', 'margin', 'border' and 'height': content is empty if its height is zero...".
Component: Layout → Layout: Block & Inline
INVALID per later discussion.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.