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