Closed Bug 1998239 Opened 1 year ago Closed 1 year ago

Make nsIFrame::GetNearestWidget not use nsView::GetNearestWidget.

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 external file)

No description provided.

This unifies the popup and non-popup cases in preparation for
bug 1994942.

There's one tricky bit here, which is that we need to fix the
app-units-per-dev-px that we return the coordinates to.

nsView::GetNearestWidget returns the offset in its own coordinates, so
match that. That bug went unnoticed because we don't have zoomed
subdocuments inside popups.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
QA Whiteboard: [qa-triage-done-c147/b146]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: