Closed
Bug 1498552
Opened 7 years ago
Closed 7 years ago
Bottom padding is not added if last child element is a <fieldset> element
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 748518
People
(Reporter: robwu, Unassigned)
References
(Blocks 1 open bug)
Details
Test case:
<div style="overflow:scroll;padding:50px;height:100px;">
<fieldset>
<div style="height:300px">big content</div>
</fieldset>
</div>
STR:
1. Open the test case:
data:text/html,<div style="overflow:scroll;padding:50px;height:100px;"><fieldset><div style="height:300px">big content</div></fieldset></div>
2. Scroll down inside the scrollable container and look at the bottom.
Expected result (Chromium 69):
- There is some padding at the bottom (gap between bottom of fieldset and bottom of the scrollable container).
Actual result (Firefox 62.0.3 and Firefox Nightly 64 (buildID 20181007220217)):
- There is no padding at the bottom (gap between the bottom of the fieldset and bottom of scrollable container is not present).
Comment 1•7 years ago
|
||
Not related to fieldset at all as far I can see. See all the discussion in bug 748518.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•7 years ago
|
||
Ah you're right. The fieldset only made the issue more obvious.
This test case shows that normal divs are also affected:
data:text/html,<div style="overflow:scroll;padding:50px;height:100px;"><div style="border:1px solid red"><div style="height:300px">big content</div></div></div>
You need to log in
before you can comment on or make changes to this bug.
Description
•