| 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="../js/resources/js-test-pre.js"></script> | 5 <script src="../js/resources/js-test-pre.js"></script> |
| 6 <script> | 6 <script> |
| 7 function runTest() { | 7 function runTest() { |
| 8 var div = document.getElementById('target'); | 8 var div = document.getElementById('target'); |
| 9 div.addEventListener('wheel', wheelHandler); | 9 div.addEventListener('wheel', wheelHandler); |
| 10 div.addEventListener('mousewheel', mouseWheelHandler); | 10 div.addEventListener('mousewheel', mouseWheelHandler); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 Scroll mouse wheel over here | 43 Scroll mouse wheel over here |
| 44 END END END END END END END | 44 END END END END END END END |
| 45 </div> | 45 </div> |
| 46 </span> | 46 </span> |
| 47 <script> | 47 <script> |
| 48 description("Tests the interaction between the standard 'wheel' event and the no
n-standard 'mousewheel' one"); | 48 description("Tests the interaction between the standard 'wheel' event and the no
n-standard 'mousewheel' one"); |
| 49 window.jsTestIsAsync = true; | 49 window.jsTestIsAsync = true; |
| 50 | 50 |
| 51 runTest(); | 51 runTest(); |
| 52 </script> | 52 </script> |
| 53 <script src="../js/resources/js-test-post.js"></script> | |
| 54 </body> | 53 </body> |
| 55 </html> | 54 </html> |
| OLD | NEW |