Firefox honors `margin-top` on <legend> in fieldset, while other browsers do not
Categories
(Core :: Layout: Form Controls, task)
Tracking
()
| Size Estimate | S |
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: webcompat:platform-bug)
User Story
user-impact-score:15
Attachments
(1 file)
|
173 bytes,
text/html
|
Details |
[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:
- 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.
| Reporter | ||
Comment 1•1 year ago
|
||
Filed https://issues.chromium.org/issues/383368170 on this in Chrome.
| Reporter | ||
Comment 2•1 year ago
|
||
Filed https://bugs.webkit.org/show_bug.cgi?id=284441 on this in WebKit.
| Reporter | ||
Comment 3•1 year ago
|
||
(my Chromium bug report was duped to previously-reported https://issues.chromium.org/issues/41216989 )
Updated•1 year ago
|
Updated•4 months ago
|
Updated•4 months ago
|
| Reporter | ||
Comment 4•2 months ago
|
||
[size-estimate "S" assuming we're mostly just getting other browsers to align with our spec-compliant behavior here]
Description
•