25 lines
643 B
HTML
25 lines
643 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
window.onload = function()
|
|
{
|
|
document.getElementById("area").focus();
|
|
|
|
if (!window.eventSender)
|
|
return;
|
|
|
|
eventSender.zoomPageIn();
|
|
eventSender.zoomPageIn();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
This test can be used to ensure that a focus ring is drawn correctly for an imagemap even when the page is zoomed. This test PASSED if a focus ring is drawn around the <area> in the imagemap to the right.
|
|
<map name="imagemap">
|
|
<area id="area" shape="rect" coords="0,0,128,128" href="#dummy" />
|
|
</map>
|
|
<img src="imagemap.jpg" width="128" height="128" usemap="#imagemap" ismap />
|
|
</body>
|
|
</head>
|
|
</html>
|