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

Side by Side 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: Simplify test case 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests the constructor of the standard wheel event
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS testEvent = new WheelEvent('wheel') did not throw exception.
7 PASS testEvent.__proto__ is WheelEvent.prototype
8 PASS testEvent.deltaX is 0
9 PASS testEvent.deltaY is 0
10 PASS testEvent.deltaZ is undefined.
11 PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PIXEL
12 PASS testEvent = new WheelEvent('wheel', { deltaX: 10, deltaY: 20, deltaMode: Wh eelEvent.DOM_DELTA_PAGE }) did not throw exception.
13 PASS testEvent.__proto__ is WheelEvent.prototype
14 PASS testEvent.deltaX is 10
15 PASS testEvent.deltaY is 20
16 PASS testEvent.deltaZ is undefined.
17 PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PAGE
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698