Closed
Bug 1701597
Opened 3 years ago
Closed 3 years ago
when zooming to a rect horizontally center it
Categories
(Core :: Panning and Zooming, enhancement)
Core
Panning and Zooming
Tracking
()
RESOLVED
FIXED
89 Branch
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•3 years ago
|
||
We already vertically center the rect, but not horizontally. We generally try to zoom to the width of an element already, so the width of the zoom to rect will usually occupy the whole viewport and hence be centered. But if the width of the element is too small so that we can't zoom in so that it fills the viewport it will end up left aligned. This doesn't come up very often on mobile, but happens more so on desktop.
Assignee | ||
Comment 2•3 years ago
|
||
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/05ae63ecb3e5 When zooming to a rect horizontally center it. r=botond https://hg.mozilla.org/integration/autoland/rev/4319850a77b2 Add test. r=botond
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/05ae63ecb3e5
https://hg.mozilla.org/mozilla-central/rev/4319850a77b2
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox89:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•