<html> | |
<head> | |
<style> | |
a:focus { outline-color: green; } | |
</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 green outline color.</p> | |
<a id="link" href="#"/>Test</a> | |
</body> | |
</html> |