OLD | NEW |
| 1 TOP TOP TOP TOP TOP TOP TOP TOP TOP TOP TOP TOP TOP TOP |
| 2 Scroll mouse wheel over here |
| 3 Scroll mouse wheel over here |
| 4 Scroll mouse wheel over here |
| 5 Scroll mouse wheel over here |
| 6 Scroll mouse wheel over here |
| 7 Scroll mouse wheel over here |
| 8 END END END END END END END END END END END END END END |
1 Tests the basic functionality of the standard wheel event | 9 Tests the basic functionality of the standard wheel event |
2 | 10 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 11 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 12 |
5 | 13 |
6 PASS WheelEvent.__proto__ is MouseEvent | 14 PASS WheelEvent.__proto__ is MouseEvent |
7 PASS WheelEvent.prototype.__proto__ is MouseEvent.prototype | 15 PASS WheelEvent.prototype.__proto__ is MouseEvent.prototype |
8 PASS WheelEvent.DOM_DELTA_PIXEL is 0x00 | 16 PASS WheelEvent.DOM_DELTA_PIXEL is 0x00 |
9 PASS WheelEvent.DOM_DELTA_LINE is 0x01 | 17 PASS WheelEvent.DOM_DELTA_LINE is 0x01 |
10 PASS WheelEvent.DOM_DELTA_PAGE is 0x02 | 18 PASS WheelEvent.DOM_DELTA_PAGE is 0x02 |
11 PASS window.onwheel is null | 19 PASS window.onwheel is null |
12 PASS document.onwheel is null | 20 PASS document.onwheel is null |
13 PASS testDiv.onwheel is null | 21 PASS testDiv.onwheel is null |
14 PASS testEvent.__proto__ is WheelEvent.prototype | 22 PASS testEvent.__proto__ is WheelEvent.prototype |
15 PASS testEvent.__proto__.__proto__ is MouseEvent.prototype | 23 PASS testEvent.__proto__.__proto__ is MouseEvent.prototype |
16 PASS testEvent.deltaX is expectedDeltaX | |
17 PASS testEvent.deltaY is expectedDeltaY | |
18 PASS testEvent.deltaZ is 0 | 24 PASS testEvent.deltaZ is 0 |
19 PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PIXEL | 25 PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PIXEL |
| 26 PASS deltaX > 0 is true |
| 27 PASS deltaX is expectedDeltaX |
| 28 PASS deltaY > 0 is true |
| 29 PASS deltaY is expectedDeltaY |
20 PASS successfullyParsed is true | 30 PASS successfullyParsed is true |
21 | 31 |
22 TEST COMPLETE | 32 TEST COMPLETE |
23 TOP TOP TOP TOP TOP TOP TOP Scroll mouse wheel over here Scroll mouse wheel over
here Scroll mouse wheel over here Scroll mouse wheel over here Scroll mouse whe
el over here Scroll mouse wheel over here END END END END END END END | |
24 | 33 |
OLD | NEW |