| OLD | NEW |
| 1 <!DOCTYPE> | 1 <!DOCTYPE> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style type="text/css" media="screen"> | 4 <style type="text/css" media="screen"> |
| 5 #background { | 5 #background { |
| 6 width: 200px; | 6 width: 200px; |
| 7 height: 200px; | 7 height: 200px; |
| 8 display: block; | 8 display: block; |
| 9 background-color: green; | 9 background-color: green; |
| 10 } | 10 } |
| 11 .blue { | 11 .blue { |
| 12 width: 50px; | 12 width: 50px; |
| 13 height: 50px; | 13 height: 50px; |
| 14 background-color: blue; | 14 background-color: blue; |
| 15 display: block; | 15 display: block; |
| 16 } | 16 } |
| 17 | 17 |
| 18 .composited { | 18 .composited { |
| 19 -webkit-transform: translateZ(0); | 19 transform: translateZ(0); |
| 20 } | 20 } |
| 21 </style> | 21 </style> |
| 22 <script type="text/javascript" charset="utf-8"> | 22 <script type="text/javascript" charset="utf-8"> |
| 23 if (window.testRunner) { | 23 if (window.testRunner) { |
| 24 testRunner.waitUntilDone(); | 24 testRunner.waitUntilDone(); |
| 25 testRunner.dumpAsTextWithPixelResults(); | 25 testRunner.dumpAsTextWithPixelResults(); |
| 26 } | 26 } |
| 27 function doTest() | 27 function doTest() |
| 28 { | 28 { |
| 29 var bg = document.getElementById("background"); | 29 var bg = document.getElementById("background"); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 43 window.addEventListener('load', doTest, false); | 43 window.addEventListener('load', doTest, false); |
| 44 </script> | 44 </script> |
| 45 </head> | 45 </head> |
| 46 <body> | 46 <body> |
| 47 <div id="background" class="composited"> | 47 <div id="background" class="composited"> |
| 48 <div class="blue composited"> | 48 <div class="blue composited"> |
| 49 </div> | 49 </div> |
| 50 </div> | 50 </div> |
| 51 </body> | 51 </body> |
| 52 </html> | 52 </html> |
| OLD | NEW |