| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 .composited { | 3 .composited { |
| 4 -webkit-transform: translateZ(0); | 4 -webkit-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; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 } | 21 } |
| 22 | 22 |
| 23 .contents { | 23 .contents { |
| 24 background-color: rgba(0, 127, 0, 0.5); | 24 background-color: rgba(0, 127, 0, 0.5); |
| 25 height: 100%; | 25 height: 100%; |
| 26 width: 100%; | 26 width: 100%; |
| 27 } | 27 } |
| 28 </style> | 28 </style> |
| 29 <script> | 29 <script> |
| 30 if (window.testRunner) | 30 if (window.testRunner) |
| 31 testRunner.dumpAsText(true); | 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 |