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: 100px; | 10 height: 100px; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 height: 400px; | 48 height: 400px; |
49 background-color: gray; | 49 background-color: gray; |
50 overflow: hidden; | 50 overflow: hidden; |
51 } | 51 } |
52 | 52 |
53 div:hover { | 53 div:hover { |
54 background-color: green; | 54 background-color: green; |
55 } | 55 } |
56 | 56 |
57 </style> | 57 </style> |
58 <script> | |
59 if (window.internals) | |
60 internals.settings.setLayerSquashingEnabled(true); | |
61 else | |
62 alert('This test requires window.internals.'); | |
63 </script> | |
64 </head> | 58 </head> |
65 <body> | 59 <body> |
66 <div class="clipper"> | 60 <div class="clipper"> |
67 <div class="composited box behind"></div> | 61 <div class="composited box behind"></div> |
68 <div class="box middle"></div> | 62 <div class="box middle"></div> |
69 <div class="box middle2"></div> | 63 <div class="box middle2"></div> |
70 <div class="box top"></div> | 64 <div class="box top"></div> |
71 </div> | 65 </div> |
72 </body> | 66 </body> |
OLD | NEW |