| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 .composited { | 3 .composited { |
| 4 -webkit-transform: translateZ(0); | 4 transform: translateZ(0); |
| 5 } | 5 } |
| 6 | 6 |
| 7 .container { | 7 .container { |
| 8 width:100px; | 8 width:100px; |
| 9 height:100px; | 9 height:100px; |
| 10 overflow:scroll; | 10 overflow:scroll; |
| 11 resize:both; | 11 resize:both; |
| 12 position:absolute; | 12 position:absolute; |
| 13 } | 13 } |
| 14 | 14 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 27 } | 27 } |
| 28 </style> | 28 </style> |
| 29 <script> | 29 <script> |
| 30 if (window.testRunner) | 30 if (window.testRunner) |
| 31 testRunner.dumpAsTextWithPixelResults(); | 31 testRunner.dumpAsTextWithPixelResults(); |
| 32 </script> | 32 </script> |
| 33 <!-- You should see a single 50% transparent green square --> | 33 <!-- You should see a single 50% transparent green square --> |
| 34 <div id="container" class="container composited"> | 34 <div id="container" class="container composited"> |
| 35 <div class="contents"></div> | 35 <div class="contents"></div> |
| 36 </div> | 36 </div> |
| OLD | NEW |