blob: 623181337a1e721dac4866d3f86d2931c6e752a3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
a { color: blue; }
</style>
</head>
<body>
<p>This test ensures that the default focus ring is not drawn on anchors even after pressing a key while the anchor is focused.</p>
<p><a id="anchor" href="#">Anchor without tabindex</a></p>
<script>
window.onload = function() {
if (window.eventSender) {
var aElement = document.getElementById('anchor');
eventSender.mouseMoveTo(aElement.offsetLeft + 2, aElement.offsetTop + 2);
eventSender.mouseDown();
eventSender.keyDown('escape');
}
};
</script>
</body>
</html>