Closed Bug 1517825 Opened 5 years ago Closed 5 years ago

Firefox ignores padding-bottom when scrolling

Categories

(Core :: Layout: Block and Inline, defect)

64 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 748518

People

(Reporter: bugzilla, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

<div style="overflow-y: auto; padding: 20px; height: 200px; background: bisque;">
  <div style="background: green; height: 300px;">
  </div>
</div>

Now scroll the div all the way down to the bottom.


Actual results:

The green element touches the orange element's bottom edge exactly.


Expected results:

The bottom padding should be in between the green element and the orange element's bottom edge. But it's completely ignored.

Works in Chrome 71. Fails in Edge 16 and IE 11.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Component: Untriaged → Layout: Block and Inline
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.