<!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>
