Closed Bug 658394 Opened 14 years ago Closed 14 years ago

Wrong margin-top while only margin-bottom is set

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 451791

People

(Reporter: lisio, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 With the following html the top margin is equal to bottom margin while only bottom margin is set. <body style="margin:0"> <div style="margin-bottom:200px"> <div style="float:left"> x </div> <div style="float:left"> y </div> <div style="clear:both"></div> </div> <hr /> </body> Reproducible: Always Steps to Reproduce: 1. View the http://dimengine.ru link. Actual Results: Top margin is equal to bottom margin Expected Results: Top margin should be 0.
Attached file reportar's testcase
Duplication of Bug 451791 ?
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
(In reply to comment #2) > Duplication of Bug 451791 ? Yes.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: