Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / click-svganchor-blur-refocus-window-expected.html
blobdb582e44d7944209970a21f90168fa62b1bc7e8c
1 <!DOCTYPE html>
2 <html>
3 <head>
4 </head>
5 <body>
6 <p>This test ensures that the focus ring is shown on the only anchor after tabbing out and inside the window.</p>
7 <p><svg width="500" height="30"><a id="anchor" xlink:href="javascript:log('anchor was clicked')"><text font-size="18px" y="20">Anchor</text></a></svg></p>
8 <input id="input">
9 <pre id="console">
10 anchor was focused
11 anchor was clicked
12 anchor was blurred
13 input was focused
14 input was blurred
15 window was blurred
16 window was focused
17 anchor was focused
18 </pre>
20 <script>
21 var anchor = document.getElementById('anchor');
22 anchor.focus();
23 </script>
24 </body>
25 </html>