blob: 2a0a6e284e31ffe81be2ddb04db2c4e1061b9ac7 [file] [log] [blame]
<html>
<head>
<style type="text/css">
a {
border: 2px solid red;
position:relative;
}
a span{
border: 2px solid blue;
white-space:nowrap;
position:absolute;
top:10em;
left:0;
}
</style>
</head>
<body>
<div>
Both <a href="#" id="link">this and<span>this should have correctly placed focus rings</span></a>
</div>
<script>
document.getElementById('link').focus();
</script>
</body>
</html>