25 lines
678 B
HTML
25 lines
678 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
area:focus {
|
|
outline-color: red;
|
|
outline-width: 0px;
|
|
}
|
|
</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 a focus ring is not drawn for an <area> with a 0px outline-width. This test PASSED if no red focus ring is drawn around 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="../events/resources/abe.png" width="128" height="128" usemap="#imagemap" />
|
|
</body>
|
|
</head>
|
|
</html>
|