| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 | 2 |
| 3 <head> | 3 <head> |
| 4 | 4 |
| 5 <script> | 5 <script> |
| 6 | 6 |
| 7 function runTest() | 7 function runTest() |
| 8 { | 8 { |
| 9 if (!window.eventSender) | 9 if (!window.eventSender) |
| 10 return; | 10 return; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 </script> | 24 </script> |
| 25 | 25 |
| 26 </head> | 26 </head> |
| 27 | 27 |
| 28 <body onload="runTest()" style="margin:0; zoom: 2" onclick="setResult('FAILURE')
"> | 28 <body onload="runTest()" style="margin:0; zoom: 2" onclick="setResult('FAILURE')
"> |
| 29 | 29 |
| 30 <map name="navmap"> | 30 <map name="navmap"> |
| 31 <area shape=rect coords="30,30,70,70" href onclick="setResult('SUCCESS'); event.
stopPropagation(); event.preventDefault();"> | 31 <area shape=rect coords="30,30,70,70" href onclick="setResult('SUCCESS'); event.
stopPropagation(); event.preventDefault();"> |
| 32 </map> | 32 </map> |
| 33 | 33 |
| 34 <img style="position: relative; left: 100px" border="20" width="100" height="100
" usemap="#navmap" ismap> | 34 <img style="position: relative; left: 100px" border="20" width="100" height="100
" usemap="#navmap" src="no-img.png" ismap> |
| 35 | 35 |
| 36 <hr> | 36 <hr> |
| 37 | 37 |
| 38 <p>This tests that client side image maps still work when zooming is in effect.<
/p> | 38 <p>This tests that client side image maps still work when zooming is in effect.<
/p> |
| 39 | 39 |
| 40 <div id="result">TEST NOT RUN</div> | 40 <div id="result">TEST NOT RUN</div> |
| 41 | 41 |
| 42 </body> | 42 </body> |
| 43 | 43 |
| 44 </html> | 44 </html> |
| OLD | NEW |