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

Side by Side Diff: LayoutTests/fast/events/relative-offset-of-simulated-click-expected.txt

Issue 316733004: MouseEvent.offsetX/Y should just return 0,0 for simulated clicks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 This test documents the behavior of MouseEvent.offsetX/Y in response to HTMLElem ent.click().
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Simulated click with .click():
7 PASS event.offsetX is 0
8 PASS event.offsetY is 0
9 Click with mouse at 0,0:
10 PASS event.offsetX is 0
11 PASS event.offsetY is 0
12 Click with mouse at 40,50:
13 PASS event.offsetX is 40
14 PASS event.offsetY is 50
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
18
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/relative-offset-of-simulated-click.html ('k') | Source/core/events/MouseRelatedEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698