blob: db582e44d7944209970a21f90168fa62b1bc7e8c [file] [log] [blame]
<!DOCTYPE html>
<p>This test ensures that the focus ring is shown on the only anchor after tabbing out and inside the window.</p>
<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>
<input id="input">
<pre id="console">
anchor was focused
anchor was clicked
anchor was blurred
input was focused
input was blurred
window was blurred
window was focused
anchor was focused
var anchor = document.getElementById('anchor');