| OLD | NEW |
| 1 <script> | 1 <script> |
| 2 | 2 |
| 3 var test = 1; | 3 var test = 1; |
| 4 var map1; | 4 var map1; |
| 5 var map2; | 5 var map2; |
| 6 var map3; | 6 var map3; |
| 7 | 7 |
| 8 function setResult(result) | 8 function setResult(result) |
| 9 { | 9 { |
| 10 var message = "FAIL: Unexpected result: " + result; | 10 var message = "FAIL: Unexpected result: " + result; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 </script> | 70 </script> |
| 71 <body onload="runTest()"> | 71 <body onload="runTest()"> |
| 72 <map name="mapName"><area shape=rect coords="0,0,100,100" onclick="setResult('1'
)"></map> | 72 <map name="mapName"><area shape=rect coords="0,0,100,100" onclick="setResult('1'
)"></map> |
| 73 <map name="mapname"><area shape=rect coords="0,0,100,100" onclick="setResult('2'
)"></map> | 73 <map name="mapname"><area shape=rect coords="0,0,100,100" onclick="setResult('2'
)"></map> |
| 74 <map name="mapname"><area shape=rect coords="0,0,100,100" onclick="setResult('3'
)"></map> | 74 <map name="mapname"><area shape=rect coords="0,0,100,100" onclick="setResult('3'
)"></map> |
| 75 <img src="resources/green.jpg" border=20 width=100 height=100 usemap="#mapname"
ismap onclick="setResult('img')"> | 75 <img src="resources/green.jpg" border=20 width=100 height=100 usemap="#mapname"
ismap onclick="setResult('img')"> |
| 76 <div>This tests image map behavior when there are multiple maps with the same na
me.</div> | 76 <div>This tests image map behavior when there are multiple maps with the same na
me.</div> |
| 77 <pre id="log"></pre> | 77 <pre id="log"></pre> |
| 78 </body> | 78 </body> |
| OLD | NEW |