RESOLVED FIXED129477
MouseEvent.offsetX/Y should just return 0,0 for simulated clicks.
https://bugs.webkit.org/show_bug.cgi?id=129477
Summary MouseEvent.offsetX/Y should just return 0,0 for simulated clicks.
Andreas Kling
Reported 2014-02-28 02:15:30 PST
Computing offsetX/Y is non-trivial, and the values are meaningless for simulated clicks anyway.
Attachments
Patch (1.50 KB, patch)
2014-02-28 02:15 PST, Andreas Kling
ap: review+
Andreas Kling
Comment 1 2014-02-28 02:15:58 PST
Alexey Proskuryakov
Comment 2 2014-02-28 09:21:36 PST
Comment on attachment 225448 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=225448&action=review > Source/WebCore/ChangeLog:7 > + There's no need to compute the exact target-relative coordinates for > + simulated mouse events, e.g those fired by HTMLElement.click(). r=me with the condition that this matches at least Firefox.
Andreas Kling
Comment 3 2014-02-28 10:38:40 PST
Note You need to log in before you can comment on or make changes to this bug.