Closed Bug 1254252 Opened 8 years ago Closed 8 years ago

Have Axis::ClampOriginToScrollableRect just return the original value if it falls with in the page bounds.

Categories

(Core :: Panning and Zooming, defect)

47 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox47 --- wontfix
firefox48 --- fixed

People

(Reporter: rbarker, Assigned: rbarker)

Details

Attachments

(1 file)

Currently Axis::ClampOriginToScrollableRect divides and then multiplies the coord by zoom before returning regardless or whether it falls within the page bounds or not. It would be better to just return the original value if it falls with in the pages bounds.
Assignee: nobody → rbarker
Attachment #8727562 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/34cfbdc0541e
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: