22 lines
644 B
HTML
22 lines
644 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
window.onload = function()
|
|
{
|
|
document.getElementById("area").focus();
|
|
}
|
|
</script>
|
|
<style>
|
|
img { zoom: 2.0; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Assuming the port-specific theme draws focus rings, this test ensures that a focus ring is drawn correctly for an imagemap when the zoom style is applied to the image. This test PASSED if a focus ring is drawn around the perimeter of the <area> in the imagemap (below).</p>
|
|
<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>
|