Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / replaced / absolute-image-position-and-focus-event.html
blob972c164f9491d785ae1df980c0e4d7729aa6a025
1 <!DOCTYPE html>
2 <style>
3 div {
4 position: relative;
7 img {
8 position: absolute;
9 top: 0px;
10 left: 0px;
12 </style>
13 <body onload='runTest();'>
14 <div>
15 <br>
16 Text should be hidden by red.
17 <a href="#"><img src="./resources/rectangle-red-200x100.png"></a>
18 </div>
19 </body>
20 <script>
21 function runTest()
23 var anchor = document.querySelector('a');
24 anchor.focus();
25 anchor.blur();
27 </script>