blob: de9103d707345a941675da76c22eb6c61550e0cb [file] [log] [blame]
<html>
<head>
<style>
map { outline-color: green; }
area:focus { outline-color: inherit; }
</style>
<script>
window.onload = function()
{
document.getElementById("area").focus();
}
</script>
</head>
<body>
<p>Assuming the port-specific theme draws focus rings, this test can be used to ensure that the focus ring color for an &lt;area&gt; can be explicitly inherited from &lt;map&gt;. This test PASSED if a green-colored focus ring is drawn around the &lt;area&gt; 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" />
</body>
</head>
</html>