Closed
Bug 375850
Opened 19 years ago
Closed 19 years ago
Parent element's outer top edge incorrect position
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: a4blank, Unassigned)
Details
Attachments
(1 file)
|
139 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
When there is a parent div with height specified and it has a child div with margin specified than the parents's top edge shifts down to child's top edge (excluding margin).
Reproducible: Always
Steps to Reproduce:
1. see the bug attached
Expected Results:
The correct position of parent's top edge is at the same level with the child's top edge including the margin.
Comment 2•19 years ago
|
||
No, margins collapse in CSS so unless there is anything other than margin
between the parents margin then the parent and child margins merge.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•