1 <!-- Based on fast/repaint/transform-rotate-and-remove.html -->
6 Test case for https://bugs.webkit.org/show_bug.cgi?id=
61338
10 transform:rotate(
50deg);
13 <script src=
"resources/paint-invalidation-test.js" type=
"text/javascript"></script>
15 window
.expectedPaintInvalidationObjects
= [
16 "LayoutBlockFlow DIV id='rel'",
17 "LayoutBlockFlow DIV id='rel'",
19 function paintInvalidationTest() {
20 document
.getElementById('rel').classList
.remove('rotated');
24 <body onload=
"runPaintInvalidationTest()">
26 <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>
27 <p> The test PASSES only if all the four borders of the box are displayed in green</p>
29 <div id=
"rel" class=
"rotated" style=
"height:50px; width:200px; background-color:yellow ; border:10px solid green;"> </div>