WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
129477
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2014-02-28 02:15:58 PST
Created
attachment 225448
[details]
Patch
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
Committed
r164871
: <
http://trac.webkit.org/changeset/164871
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug