| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 .composited { | 4 .composited { |
| 5 transform: translatez(0); | 5 transform: translatez(0); |
| 6 } | 6 } |
| 7 | 7 |
| 8 .box { | 8 .box { |
| 9 width: 100px; | 9 width: 100px; |
| 10 height: 100.5px; | 10 height: 100.5px; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 width: 300px; | 50 width: 300px; |
| 51 height: 300px; | 51 height: 300px; |
| 52 background-color: gray; | 52 background-color: gray; |
| 53 } | 53 } |
| 54 | 54 |
| 55 div:hover { | 55 div:hover { |
| 56 background-color: green; | 56 background-color: green; |
| 57 } | 57 } |
| 58 | 58 |
| 59 </style> | 59 </style> |
| 60 <script> | |
| 61 if (window.internals) | |
| 62 internals.settings.setLayerSquashingEnabled(true); | |
| 63 | |
| 64 </script> | |
| 65 </head> | 60 </head> |
| 66 <body> | 61 <body> |
| 67 <div class="container"> | 62 <div class="container"> |
| 68 <div class="composited box behind"></div> | 63 <div class="composited box behind"></div> |
| 69 <div class="box middle"></div> | 64 <div class="box middle"></div> |
| 70 </div> | 65 </div> |
| 71 <div class="box middle2"></div> | 66 <div class="box middle2"></div> |
| 72 <div class="box top"></div> | 67 <div class="box top"></div> |
| 73 </body> | 68 </body> |
| OLD | NEW |