blob: 972c164f9491d785ae1df980c0e4d7729aa6a025 [file] [log] [blame]
<!DOCTYPE html>
<style>
div {
position: relative;
}
img {
position: absolute;
top: 0px;
left: 0px;
}
</style>
<body onload='runTest();'>
<div>
<br>
Text should be hidden by red.
<a href="#"><img src="./resources/rectangle-red-200x100.png"></a>
</div>
</body>
<script>
function runTest()
{
var anchor = document.querySelector('a');
anchor.focus();
anchor.blur();
}
</script>