summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/transform-rotate-and-remove.html
blob: a591ee4b12a493ad1c34939d8a8eb8016882a85c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
    <head>
        <title>
            Test case for https://bugs.webkit.org/show_bug.cgi?id=61338 
        </title>
        <style>
            .rotated {
                transform:rotate(50deg);
            }
        </style>
        <script src="resources/text-based-repaint.js" type="text/javascript"></script>
        <script>
            function repaintTest() {
                document.getElementById('rel').classList.remove('rotated');
            }
        </script>
    </head>
    <body onload="runRepaintTest()">
        <!--
        <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>
        <p> The test PASSES only if all the four borders of the box are displayed in green</p>
        -->
        <div id="rel" class="rotated" style="height:50px; width:200px; background-color:yellow ; border:10px solid green;">  </div>
    </body>
</html>