Closed Bug 1556236 Opened 5 years ago Closed 4 years ago

elementfrompoint doen't work properly when page is zoomed

Categories

(Firefox for Android Graveyard :: General, defect, P3)

Firefox 67
ARM
Android
defect

Tracking

(firefox70 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox70 --- affected

People

(Reporter: david.sillou, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Steps to reproduce:

  1. Put target divs on a simple page (see attached file)
  2. zoom in (pinch)
  3. Pan to move a target div past the new innerWidth and/or innerHeight value (modified bt zoom)
  4. call elementFromPoint with x and y within the target div

Actual results:

elementFromPoint returns html element

NB : it seems to occur as soon as targeted element's position is beyond innerWidth and/or innerHeight

Expected results:

elementFromPoint should return targeted element whatever the scale/value zoom of the page is

Attachment #9069231 - Attachment description: zoom (3times), center the three div, tap three div, see result in console → zoom (3 times or more), center the three div, tap third div, see result in console
Attachment #9069231 - Attachment description: zoom (3 times or more), center the three div, tap third div, see result in console → zoom (3 times or more), center the third div, tap third div, see result in console
Priority: -- → P3

Hi, I reproduce the issue with device Sony Xperia Z5 (Android 7.0) on build Firefox Nightly 70.0a1 (2019-08-07).
Screenshot attached.
I will mark the ticket as NEW.

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Android
Hardware: Unspecified → ARM
Webcompat Priority: --- → ?
Webcompat Priority: ? → ---
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: