Closed Bug 1560627 Opened 6 years ago Closed 6 years ago

Fission-aware API for getting the correct coordinates of HTML elements.

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ablayelyfondou, Unassigned)

References

(Depends on 1 open bug)

Details

API needed for getting the correct coordinates of an element that lives inside an oop iframe. Before fission, getElementBoundingRect was used to get those coordinates but this function relies on window.mozInnerScreenX and window.mozInnerScreenY which always return the top-level window coordinates instead of the oop iframe ones. And after a conversation with jwatt, it might not be a good idea to use that API internally anymore (see bug 1555138).

Flags: needinfo?(jwatt)
Summary: Fission-aware API for getting correct coordinates of HTML elements. → Fission-aware API for getting the correct coordinates of HTML elements.
Blocks: 1571080

Tentatively moving all bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to the "?" triage milestone.

This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:

0ee3c76a-bc79-4eb2-8d12-05dc0b68e732

Fission Milestone: --- → ?

And after a conversation with jwatt, it might not be a good idea to use that API internally anymore (see bug 1555138).

WONTFIX because content process should not be allowed to know its screen coordinates. Parent process can map content process's document-relative coordinates to screen coordinates.

Status: NEW → RESOLVED
Fission Milestone: ? → ---
Closed: 6 years ago
Flags: needinfo?(jwatt)
Resolution: --- → WONTFIX
See Also: → 1602987
You need to log in before you can comment on or make changes to this bug.