summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/focus-ring-outline-offset.html
blob: 9213f35c3ee1564fb8181b83d7e2199336a08d91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
<style>
a:focus { outline-offset: 10px; }
</style>
<script>
window.onload = function()
{
    document.getElementById("link").focus();
}
</script>
</head>
<body>
<p>Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn with an outline offset of 10 px.</p>
(Some filler text) <a id="link" href="#"/>Test</a>
</body>
</html>