Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / repaint / focus-element.html
1 <!doctype html>
2 <head>
3         <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
4         <script>
5         function repaintTest() {
6                 document.getElementById("rect").focus();
7         }
8         </script>
9         <style>
10                 div {
11                         height:150px; width:150px;
12                 }
13                 :focus { fill: green }
14         </style>
15 </head>
16 <body onload="runRepaintAndPixelTest()">
17         <div>
18                 <svg id="svg" height="150" width="150" viewbox="0 0 150 150">
19                         <rect id="rect" x="50" y="50" height="50" width="50" tabindex="1"/>
20                 </svg>
21         </div>
22 </body>