| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style> | 5 <style> |
| 6 .fixed { | 6 .fixed { |
| 7 position: fixed; | 7 position: fixed; |
| 8 z-index: 1; | 8 z-index: 1; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 .red { | 27 .red { |
| 28 background-color: red; | 28 background-color: red; |
| 29 } | 29 } |
| 30 | 30 |
| 31 .lime { | 31 .lime { |
| 32 background-color: lime; | 32 background-color: lime; |
| 33 } | 33 } |
| 34 | 34 |
| 35 .composited { | 35 .composited { |
| 36 -webkit-transform: translatez(0); | 36 transform: translatez(0); |
| 37 } | 37 } |
| 38 </style> | 38 </style> |
| 39 | 39 |
| 40 <script type="text/javascript"> | 40 <script type="text/javascript"> |
| 41 if (window.internals) | 41 if (window.internals) |
| 42 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); | 42 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); |
| 43 | 43 |
| 44 if (window.testRunner) { | 44 if (window.testRunner) { |
| 45 testRunner.dumpAsText(); | 45 testRunner.dumpAsText(); |
| 46 | 46 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 60 <pre id="layertree"></pre> | 60 <pre id="layertree"></pre> |
| 61 </div> | 61 </div> |
| 62 | 62 |
| 63 <div class="absolute composited red box"></div> | 63 <div class="absolute composited red box"></div> |
| 64 | 64 |
| 65 <!-- This should be composited because it overlaps a composited layer. --> | 65 <!-- This should be composited because it overlaps a composited layer. --> |
| 66 <div class="fixed lime box"></div> | 66 <div class="fixed lime box"></div> |
| 67 </body> | 67 </body> |
| 68 </html> | 68 </html> |
| 69 | 69 |
| OLD | NEW |