Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / repaint-svg-after-style-change.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>SVG failing to repaint</title>
5 </head>
6 <body>
7 <svg width="201px" height="201px">
8     <g>
9         <path fill="red" fill-opacity="1" d="M 0 0 L 0 200 200 200 200 0 Z"></path>
10         <path id="blinker" fill="green" fill-opacity="1" d="M 00 00 L 00 200 200 200 200 00 Z" style=""></path>
11     </g>
12 </svg>
13 </div>
14
15 <script type='text/javascript'>
16 var blinker = document.getElementById('blinker');
17
18 if (window.testRunner)
19     window.testRunner.waitUntilDone();
20
21 window.setTimeout(function () {
22     blinker.style.display = 'none';
23     window.setTimeout(function () {
24         blinker.style.display = '';
25         if (window.testRunner)
26             window.testRunner.notifyDone();
27     }, 50);
28 }, 50);
29
30
31
32 </script>
33 </body>
34 </html>
35