Closed
Bug 1701749
Opened 3 years ago
Closed 3 years ago
Double-tap to zoom seems to apply zoom level only at the beginning of a div which encloses plain text
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
VERIFIED
FIXED
89 Branch
People
(Reporter: emilghitta, Assigned: tnikkel)
References
Details
Attachments
(2 files)
Affected versions
- Firefox 89.0a1 (BuildId:20210328213901)
- Firefox 88.0b4 (BuildId:20210328185936) - disabled
Affected platforms
- macOS 10.14
- macOS 11.1
Unaffected platforms
- Windows 10 64bit
- Ubuntu 20.04
Preconditions
- Have the following pref set to true:
apz.mac.enable_double_tap_zoom_touchpad_gesture
Steps to reproduce
- Launch Firefox.
- Access the attached test case.
- Try double tapping at the middle of the div content.
Expected result
- The zoom is successfully applied inside the desired area (as in Safari).
Actual result
- The zoom is applied at the top of the div content (as in Chrome).
Regression Range
- I don’t think that this is a regression.
Notes
- For further information regarding this issue, please observe the following link (Mozilla account needed).
- I'm not sure how many users could encounter this behavior. Not sure if enclosing plain text inside divs (no semantical meaning) for some reasons is a practice out in the wild.
Reporter | ||
Updated•3 years ago
|
Severity: -- → S4
Assignee | ||
Comment 1•3 years ago
|
||
I'm not sure if this is better overall or not, it's better for the testcase in this bug (a div with a large amount of visible overflow).
This code is a direct port of javascript code, so it only had the option of using getBoundingClientRect.
Updated•3 years ago
|
Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e0df81346b2b When computing the double tap rect if there is a overflow rect that contains the bounding client rect use that. r=emilio
Comment 3•3 years ago
|
||
Backed out for causing build bustages
Backout link: https://hg.mozilla.org/integration/autoland/rev/afdb67abfe0f1f413cc36d3b64fc26b9e3439044
Flags: needinfo?(tnikkel)
Assignee | ||
Updated•3 years ago
|
Flags: needinfo?(tnikkel)
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee155916d1e3 When computing the double tap rect if there is a overflow rect that contains the bounding client rect use that. r=emilio
Comment 5•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Reporter | ||
Comment 6•3 years ago
|
||
This issue is verified fixed using Firefox 89.0a1 (BuildId:20210414093129) on macOS 10.15
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•