Closed
Bug 1484884
Opened 6 years ago
Closed 5 years ago
Incorrect async adjustment of fixed elements when zooming
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox64 | --- | wontfix |
firefox65 | --- | fixed |
firefox66 | --- | fixed |
People
(Reporter: u608768, Assigned: botond)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(2 files)
901 bytes,
text/html
|
Details | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
When async-zooming, the adjustment applied to fixed elements is incorrect. This is a result of bug 1465616, which was responsible for changing the viewport that fixed elements are attached to (both when reflowing and when compositing). This doesn't appear to be a problem when fixed elements are attached to the visual viewport (i.e., when the visual viewport is larger than the layout viewport), but I could be wrong.
Assignee | ||
Comment 1•6 years ago
|
||
Note that there are already tests for this in the tree (currently marked as expected-fail): they were added in the "Add failing fixed-position async-zoom reftests" patch in bug 1465616.
Assignee | ||
Updated•6 years ago
|
Priority: -- → P3
Whiteboard: [gfx-noted]
Assignee | ||
Comment 3•6 years ago
|
||
Kashav, I assume you're not working on this :)
Assignee: kshvmdn → nobody
Assignee | ||
Comment 4•5 years ago
|
||
Coordinate system issues are good problems to think through during a flight :) The issue here is that, unlike the visual viewport, the layout viewport does not change size (in terms of CSS coordinates) when zooming. Therefore, if we're trying to keep something fixed to the layout viewport, we don't want to be compensating for the zoom transform applies to the enclosing container layer.
Assignee: nobody → botond
Assignee | ||
Comment 5•5 years ago
|
||
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/276287cba1de Fix async zoom transform computation for layout viewport. r=kats
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/276287cba1de
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Assignee | ||
Comment 8•5 years ago
|
||
Comment on attachment 9030113 [details] Bug 1484884 - Fix async zoom transform computation for layout viewport. r=kats [Beta/Release Uplift Approval Request] Feature/Bug causing the regression: Bug 1465616 User impact if declined: When pinch-zooming on mobile, position:fixed elements are incorrectly positioned during the zoom. At the completion of the zoom, they jump to their correct positions. Is this code covered by automated tests?: Yes Has the fix been verified in Nightly?: Yes Needs manual test from QE?: No If yes, steps to reproduce: List of other uplifts needed: None Risk to taking this patch: Low Why is the change risky/not risky? (and alternatives if risky): Targeted change that affects only the positioning of fixed elements during async zooming. String changes made/needed:
Attachment #9030113 -
Flags: approval-mozilla-beta?
Assignee | ||
Updated•5 years ago
|
status-firefox64:
--- → wontfix
status-firefox65:
--- → affected
status-firefox-esr60:
--- → unaffected
Comment 9•5 years ago
|
||
Comment on attachment 9030113 [details] Bug 1484884 - Fix async zoom transform computation for layout viewport. r=kats [Triage Comment] Fixes odd positioning of position:fixed elements during pinch zooming. Approved for 64.0b5.
Attachment #9030113 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 10•5 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/663b56166037
Updated•5 years ago
|
Flags: in-testsuite+
Updated•5 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•