Open Bug 723132 Opened 12 years ago Updated 2 years ago

A scrollbox can scroll "too far" if its content uses max-width

Categories

(Toolkit :: UI Widgets, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: paul, Unassigned)

Details

We can see that in the breadcrumbs in the Firefox Inspector (builtin devtools):

Inspect a node that is deep enough in a web page (right click -> inspect), you see the breadcrumbs. Scroll to show the last element. Click on the right scrollButton. You can still scroll and see a blank unused space.

This happens because the value of clientSize is wrong: http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/scrollbox.xml#134

Apparently, I can work around that if the element in the scrollbox don't use max-width but width.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.