Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Issue 316733004: MouseEvent.offsetX/Y should just return 0,0 for simulated clicks. (Closed)

Created:
6 years, 6 months ago by abarth-chromium
Modified:
6 years, 6 months ago
Reviewers:
eseidel
CC:
blink-reviews, dglazkov, eseidel, esprehn, ojan
Visibility:
Public.

Description

MouseEvent.offsetX/Y should just return 0,0 for simulated clicks. There's no need to compute the exact target-relative coordinates for simulated mouse events, e.g those fired by HTMLElement.click(). The offsetX/Y properties are not supported by Firefox. This CL merges http://trac.webkit.org/changeset/164871/ by kling, which made WebKit go fast on Speedometer. BUG=380173 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175426

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
A LayoutTests/fast/events/relative-offset-of-simulated-click.html View 1 chunk +48 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/relative-offset-of-simulated-click-expected.txt View 1 chunk +18 lines, -0 lines 0 comments Download
M Source/core/events/MouseRelatedEvent.cpp View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
abarth-chromium
6 years, 6 months ago (2014-06-04 00:17:03 UTC) #1
eseidel
lgtm
6 years, 6 months ago (2014-06-04 00:17:54 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/316733004/1
6 years, 6 months ago (2014-06-04 00:18:12 UTC) #3
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 02:11:09 UTC) #4
Message was sent while issue was closed.
Change committed as 175426

Powered by Google App Engine
This is Rietveld 408576698