OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 window.onload = function() | 4 window.onload = function() |
5 { | 5 { |
6 document.getElementById("area").focus(); | 6 document.getElementById("area").focus(); |
7 | 7 |
8 if (!window.eventSender) | 8 if (!window.eventSender) |
9 return; | 9 return; |
10 | 10 |
11 eventSender.zoomPageIn(); | 11 eventSender.zoomPageIn(); |
12 eventSender.zoomPageIn(); | 12 eventSender.zoomPageIn(); |
13 } | 13 } |
14 </script> | 14 </script> |
15 </head> | 15 </head> |
16 <body> | 16 <body> |
17 This test can be used to ensure that a focus ring is drawn correctly for an imag
emap even when the page is zoomed. This test PASSED if a focus ring is drawn aro
und the <area> in the imagemap to the right. | 17 This test can be used to ensure that a focus ring is drawn correctly for an imag
emap even when the page is zoomed. This test PASSED if a focus ring is drawn aro
und the <area> in the imagemap to the right. |
18 <map name="imagemap"> | 18 <map name="imagemap"> |
19 <area id="area" shape="rect" coords="0,0,128,128" href="#dummy" /> | 19 <area id="area" shape="rect" coords="0,0,128,128" href="#dummy" /> |
20 </map> | 20 </map> |
21 <img src="imagemap.jpg" width="128" height="128" usemap="#imagemap" ismap /> | 21 <img width="128" height="128" usemap="#imagemap" ismap /> |
22 </body> | 22 </body> |
23 </head> | 23 </head> |
24 </html> | 24 </html> |
OLD | NEW |