| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEven
t"> | 4 <link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEven
t"> |
| 5 <script src="../../resources/js-test.js"></script> | 5 <script src="../../../resources/js-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 window.jsTestIsAsync = true; | 7 window.jsTestIsAsync = true; |
| 8 | 8 |
| 9 var deltaX = 0; | 9 var deltaX = 0; |
| 10 var deltaY = 0; | 10 var deltaY = 0; |
| 11 | 11 |
| 12 var testDiv; | 12 var testDiv; |
| 13 function runTest() { | 13 function runTest() { |
| 14 // Basic checks. | 14 // Basic checks. |
| 15 shouldBe('WheelEvent.__proto__', 'MouseEvent'); | 15 shouldBe('WheelEvent.__proto__', 'MouseEvent'); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 </div> | 63 </div> |
| 64 </span> | 64 </span> |
| 65 <div id="console"></div> | 65 <div id="console"></div> |
| 66 <script> | 66 <script> |
| 67 description("Tests the basic functionality of the standard wheel event"); | 67 description("Tests the basic functionality of the standard wheel event"); |
| 68 | 68 |
| 69 runTest(); | 69 runTest(); |
| 70 </script> | 70 </script> |
| 71 </body> | 71 </body> |
| 72 </html> | 72 </html> |
| OLD | NEW |