Open
Bug 940439
Opened 12 years ago
Updated 4 years ago
margin-bottom changes the position of a <legend> in a <fieldset> and margin collapsing isn't applied
Categories
(Core :: Layout: Form Controls, defect, P4)
Core
Layout: Form Controls
Tracking
()
NEW
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: testcase)
Attachments
(2 files)
It seems we apply bottom margin for <legend> incorrectly.
In the attached testcase #1 the negative bottom-margin moves the
<legend> down from its normal position while the <div> has its
normal position. In testcase #2 the positive bottom-margin moves
the <legend> up from its normal position and the <div>
Fwiw, IE10 on Win8 and Chrome 33 on Linux puts the <legend> in the
normal position (i.e same as w/o any margins) and instead the sibling
after it is moved up. Compare the latter block on the page which
demonstrates how we normally layout block children with the same styling.
Note also that we do margin collapsing wrong compared to the normal
block case. Chrome also fails that part, but IE does collapse
the margins correctly AFAICT.
| Reporter | ||
Comment 1•12 years ago
|
||
| Reporter | ||
Comment 2•12 years ago
|
||
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•