Open Bug 462881 Opened 11 years ago Updated 7 months ago

nsDOMWindowUtils::SendMouseEvent sends it to the wrong place, breaking tests

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

Details

The problem is this part:

245   event.refPoint.x = aX;
246   event.refPoint.y = aY;

aX and aY had better be in CSS pixels (because we use things like getBoundClientRect().left for them).

event.refPoint is in device pixels.

On high-DPI screens, mochitests are basically guaranteed to fail.
Flags: blocking1.9.1?
Not going to block the release on this.
Flags: blocking1.9.1? → blocking1.9.1-
Patch in bug 462979 ended up including a fix for this.
Depends on: 462979
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.