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

Unified Diff: LayoutTests/fast/events/wheelevent-constructor-expected.txt

Issue 22859012: Add support for DOM Level 3 WheelEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename prefixedType() to legacyType() Created 7 years, 4 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/wheelevent-constructor-expected.txt
diff --git a/LayoutTests/fast/events/wheelevent-constructor-expected.txt b/LayoutTests/fast/events/wheelevent-constructor-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29a6f4a3b0a3d8d42ce716554c0bacc0ced72b0e
--- /dev/null
+++ b/LayoutTests/fast/events/wheelevent-constructor-expected.txt
@@ -0,0 +1,21 @@
+Tests the constructor of the standard wheel event
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS testEvent = new WheelEvent('wheel') did not throw exception.
+PASS testEvent.__proto__ is WheelEvent.prototype
+PASS testEvent.deltaX is 0
+PASS testEvent.deltaY is 0
+PASS testEvent.deltaZ is 0
+PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PIXEL
+PASS testEvent = new WheelEvent('wheel', { deltaX: 10.2, deltaY: 20.3, deltaZ: 30.4, deltaMode: WheelEvent.DOM_DELTA_PAGE }) did not throw exception.
+PASS testEvent.__proto__ is WheelEvent.prototype
+PASS testEvent.deltaX is 10.2
+PASS testEvent.deltaY is 20.3
+PASS testEvent.deltaZ is 30.4
+PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PAGE
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/events/wheelevent-constructor.html ('k') | LayoutTests/fast/events/wheelevent-mousewheel-interaction.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698