| OLD | NEW |
| (Empty) |
| 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 | |
| 9 Tests the basic functionality of the standard wheel event | |
| 10 | |
| 11 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 12 | |
| 13 | |
| 14 PASS WheelEvent.__proto__ is MouseEvent | |
| 15 PASS WheelEvent.prototype.__proto__ is MouseEvent.prototype | |
| 16 PASS WheelEvent.DOM_DELTA_PIXEL is 0x00 | |
| 17 PASS WheelEvent.DOM_DELTA_LINE is 0x01 | |
| 18 PASS WheelEvent.DOM_DELTA_PAGE is 0x02 | |
| 19 PASS window.onwheel is null | |
| 20 PASS document.onwheel is null | |
| 21 PASS testDiv.onwheel is null | |
| 22 PASS testEvent.__proto__ is WheelEvent.prototype | |
| 23 PASS testEvent.__proto__.__proto__ is MouseEvent.prototype | |
| 24 PASS testEvent.deltaZ is 0 | |
| 25 PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PIXEL | |
| 26 PASS deltaX > 0 && deltaY > 0 && deltaX == testDiv.scrollLeft && deltaY == testD
iv.scrollTop became true | |
| 27 PASS successfullyParsed is true | |
| 28 | |
| 29 TEST COMPLETE | |
| 30 | |
| OLD | NEW |