18 lines
372 B
HTML
18 lines
372 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
a:focus { outline-width: 10px; }
|
|
</style>
|
|
<script>
|
|
window.onload = function()
|
|
{
|
|
document.getElementById("link").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 drawn with an outline width of 10 px.</p>
|
|
<a id="link" href="#"/>Test</a>
|
|
</body>
|
|
</html>
|