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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/relative-offset-of-simulated-click-expected.txt
diff --git a/LayoutTests/fast/events/relative-offset-of-simulated-click-expected.txt b/LayoutTests/fast/events/relative-offset-of-simulated-click-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a83fe18a12424401477995bd1397599619d7874
--- /dev/null
+++ b/LayoutTests/fast/events/relative-offset-of-simulated-click-expected.txt
@@ -0,0 +1,18 @@
+This test documents the behavior of MouseEvent.offsetX/Y in response to HTMLElement.click().
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Simulated click with .click():
+PASS event.offsetX is 0
+PASS event.offsetY is 0
+Click with mouse at 0,0:
+PASS event.offsetX is 0
+PASS event.offsetY is 0
+Click with mouse at 40,50:
+PASS event.offsetX is 40
+PASS event.offsetY is 50
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« 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