| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
| 6 .container { | 6 .container { |
| 7 border: 1px solid black; | 7 border: 1px solid black; |
| 8 height: 300px; | 8 height: 300px; |
| 9 width: 200px; | 9 width: 200px; |
| 10 -webkit-transform: translateZ(0); | 10 transform: translateZ(0); |
| 11 } | 11 } |
| 12 | 12 |
| 13 #tester { | 13 #tester { |
| 14 margin: 50px; | 14 margin: 50px; |
| 15 height: 100px; | 15 height: 100px; |
| 16 width: 100px; | 16 width: 100px; |
| 17 background-color: red; | 17 background-color: red; |
| 18 } | 18 } |
| 19 </style> | 19 </style> |
| 20 <script type="text/javascript" charset="utf-8"> | 20 <script type="text/javascript" charset="utf-8"> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 31 window.addEventListener('load', doTest, false); | 31 window.addEventListener('load', doTest, false); |
| 32 </script> | 32 </script> |
| 33 </head> | 33 </head> |
| 34 <body> | 34 <body> |
| 35 <p>Test for repaint in a composited layer. You should see no red below.</p> | 35 <p>Test for repaint in a composited layer. You should see no red below.</p> |
| 36 <div class="container"> | 36 <div class="container"> |
| 37 <div id="tester"></div> | 37 <div id="tester"></div> |
| 38 </div> | 38 </div> |
| 39 </body> | 39 </body> |
| 40 </html> | 40 </html> |
| OLD | NEW |