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