Closed Bug 1710059 Opened 3 years ago Closed 3 years ago

[fission] Hit testing scaled remote iframes is broken.

Categories

(Core :: Panning and Zooming, defect)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Fission Milestone M7a
Tracking Status
firefox-esr78 --- disabled
firefox88 --- disabled
firefox89 --- disabled
firefox90 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

Try to hit some of the elements in: http://crisal.io/tmp/scaled-frame-complex.html

I think this is more APZ-land, but some observations:

  • APZ hit-testing itself seems to work fine (since I can drag the scrollbar thumb just fine), it's main-thread hit-testing which seems confused.
  • The layout position doesn't seem to get transformed properly. If I do the position change using transform-origin (the second iframe) then it works.
  • The ParentToChildConversionMatrix in BrowserParent.cpp has the right scale in both cases, but the translation is wrong for the first one.
Component: Graphics: WebRender → Panning and Zooming
Blocks: 1699837
No longer depends on: 1699837
Flags: needinfo?(emilio)
Flags: needinfo?(emilio)

When we have a both bottom and top layer, we weren't applying the
transforms in the right order.

Do you know what the right way to test this is?

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Tracking for Fission M7a because this bug blocks M7a bug 1699837.

Fission Milestone: --- → M7a
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3ca325d7f1bd
Fix order of transform application in WebRenderScrollDataWrapper. r=botond
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Regressions: 1714513
Regressions: 1715187
Depends on: 1700379
No longer regressions: 1714513
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: