Open Bug 1936475 Opened 2 months ago Updated 2 months ago

Firefox honors `margin-top` on <legend> in fieldset, while other browsers do not

Categories

(Core :: Layout: Form Controls, task)

task

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: webcompat:platform-bug)

Attachments

(1 file)

Attached file testcase 1

[Pretty sure this is a bug in other browsers and Firefox is correct; but I'm starting with a bugzilla.mozilla.org bug to cover the underlying reason behind our difference vs. other browsers in bug 1935129.]

STR:

  1. Load attached testcase.

FIREFOX RESULTS:
There's 100px of space between "Text before fieldset" and "Legend"

CHROMIUM/WEBKIT RESULTS:
There's no space between "Text before fieldset" and "Legend"

For some reason, Chromium/WebKit seem to ignore the margin-top on the legend, but they honor margin-top on all other sides.

Blocks: 1935129
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: