Closed Bug 1644638 Opened 11 months ago Closed 11 months ago

ScrollFrameHelper::ReflowFinished should use GetVisualScrollRange instead of trying to calculate it itself

Categories

(Core :: Layout: Scrolling and Overflow, defect)

defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

Details

Attachments

(1 file)

These leads to the problem pointed out in

https://bugzilla.mozilla.org/show_bug.cgi?id=1644271#c2

where the maxpos is calculated as negative. GetVisualScrollRange avoids this by making sure the scroll range is 0 or greater.

Attachment #9155514 - Attachment description: Bug 1644638. ScrollFrameHelper::ReflowFinished should use GetVisualScrollRange instead of trying to calculate it itself. r?kats → Bug 1644638. ScrollFrameHelper::ReflowFinished should use GetVisualScrollRange instead of trying to calculate it itself. r=kats
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4e04aefa0558
ScrollFrameHelper::ReflowFinished should use GetVisualScrollRange instead of trying to calculate it itself. r=kats
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.