Closed Bug 1228216 Opened 9 years ago Closed 9 years ago

Event::GetScreenCoords incorrectly converts the coords to a CSSPoint when the widget is null.

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: rbarker, Assigned: rbarker)

References

Details

Attachments

(1 file)

Bug 1220925 incorrectly converts the screen coord to a CSSPoint when the widget is null but the nsPresContext is not. This causes events that were created in JavaScript to return incorrect screen coordinates on devices where the pixel ratio is not 1:1 such as an rMBP.
Assignee: nobody → rbarker
Blocks: 1206872
Depends on: 1220925
Attachment #8692304 - Flags: review?(tnikkel)
Attachment #8692304 - Flags: review?(tnikkel) → review+
I filed bug 1228466 on the LayoutDeviceIntPoint aPoint argument to this function not actually being in layout device pixels.
https://hg.mozilla.org/mozilla-central/rev/1342a855302d
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: