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

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: 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 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 0
11 PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PIXEL
12 PASS testEvent = new WheelEvent('wheel', { deltaX: 10.2, deltaY: 20.3, deltaZ: 3 0.4, deltaMode: WheelEvent.DOM_DELTA_PAGE }) did not throw exception.
13 PASS testEvent.__proto__ is WheelEvent.prototype
14 PASS testEvent.deltaX is 10.2
15 PASS testEvent.deltaY is 20.3
16 PASS testEvent.deltaZ is 30.4
17 PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PAGE
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW
« 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