Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / focus-layers.html
blob045a3da510aa53e7aefa084c71ff3eaa13018e42
1 <html>
2 <head>
3 <style type="text/css">
4 a {
5 border: 2px solid red;
6 position: relative;
8 a span.relative {
9 border: 2px solid blue;
10 white-space: nowrap;
11 position: relative;
12 top: 10em;
14 a span.absolute {
15 border: 2px solid green;
16 white-space: nowrap;
17 position: absolute;
18 top: 12em;
20 </style>
22 </head>
23 <body>
24 <div>
26 Both <a href="#" id="link">this and <span class="relative">this should have correctly placed focus rings</span> <span class = "absolute">but not this</span>.</a>
27 </div>
29 <script>
30 document.getElementById('link').focus();
31 </script>
32 </body>
33 </html>