Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / transform-rotate-and-remove.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <title>
5             Test case for https://bugs.webkit.org/show_bug.cgi?id=61338 
6         </title>
7         <style>
8             .rotated {
9                 -webkit-transform:rotate(50deg);
10             }
11         </style>
12         <script src="resources/repaint.js" type="text/javascript"></script>
13         <script>
14             function repaintTest() {
15                 document.getElementById('rel').classList.remove('rotated');
16             }
17         </script>
18     </head>
19     <body onload="runRepaintTest()">
20         <!--
21         <p> Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=61338">61338</a>: Element not fully repainted after application and removal of transform </p>
22         <p> The test PASSES only if all the four borders of the box are displayed in green</p>
23         -->
24         <div id="rel" class="rotated" style="height:50px; width:200px; background-color:yellow ; border:10px solid green;">  </div>
25     </body>
26 </html>