<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<p>This test ensures that the focus ring is not shown on the anchor after blurring and focusing 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> | |
<pre id="console"> | |
activeElement is anchor | |
window was blurred | |
window was focused | |
activeElement is anchor | |
anchor was clicked | |
</pre> | |
</body> | |
</html> |