Bottom padding missing inside fixed and scrolled elements

RESOLVED DUPLICATE of bug 748518

Status

()

Core
Layout: Block and Inline
RESOLVED DUPLICATE of bug 748518
4 years ago
3 years ago

People

(Reporter: silverwind, Unassigned)

Tracking

21 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

506 bytes, text/html
Details
(Reporter)

Description

4 years ago
Created attachment 756566 [details]
Example

See attached example.

The element in question has position: fixed; padding: 50px. When such a element is scrolled, the scrolled area seems to ignore the bottom padding and stops where the content ends. Same example works fine in Chrome.

Might be related to bug 458296.
(Reporter)

Updated

4 years ago
Attachment #756566 - Attachment mime type: text/plain → text/html
> the scrolled area seems to ignore the bottom padding and stops where the content ends.

Yes, that's the behavior the CSS spec requires.  WebKit has a long-standing bug in that regard, which is why you see a different behavior in Chrome.
Whiteboard: DUPEME

Updated

4 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 748518
(Reporter)

Comment 3

4 years ago
Thanks for clearing this up. This behavior really feels "wrong" to me, but should be easy enough to work around.

Updated

3 years ago
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.