Closed Bug 813543 Opened 12 years ago Closed 12 years ago

applying padding to box with scroll, bottom-padding doesn't work

Categories

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

16 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 748518

People

(Reporter: philip.mannheimer, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121024073032

Steps to reproduce:

Creating webpage:

HTML:
<div id="container">
    <div id="some_info"></div>
</div>

CSS: 
#container {
    padding: 3em;
    overflow-x: hidden;
    overflow-y: auto;
    width: 300px;
    height: 300px;
    background: red;
}

#some_info {
    height: 900px;
    background: #000;
}


Actual results:

The padding-bottom doesn't work properly.


Expected results:

The padding should be the same on all sides, look at this fiddle:

http://jsfiddle.net/rwgZu/
Component: Untriaged → Layout: Block and Inline
Product: Firefox → Core
maybe dupe of Bug 748518
Indeed.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.