OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 | 5 |
6 .composited { | 6 .composited { |
7 -webkit-transform:translatez(0); | 7 transform:translatez(0); |
8 } | 8 } |
9 | 9 |
10 .box { | 10 .box { |
11 width: 100px; | 11 width: 100px; |
12 height: 100px; | 12 height: 100px; |
13 } | 13 } |
14 | 14 |
15 .red { | 15 .red { |
16 background-color: red; | 16 background-color: red; |
17 } | 17 } |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 <!-- This red div should be completely underneath the green div --> | 65 <!-- This red div should be completely underneath the green div --> |
66 <div class="composited red box behind"> </div> | 66 <div class="composited red box behind"> </div> |
67 | 67 |
68 <!-- This lime colored div should correctly detect overlap and become composit
ed. --> | 68 <!-- This lime colored div should correctly detect overlap and become composit
ed. --> |
69 <div class="lime box ontop"> </div> | 69 <div class="lime box ontop"> </div> |
70 | 70 |
71 <pre id="layertree"></pre> | 71 <pre id="layertree"></pre> |
72 </body> | 72 </body> |
73 | 73 |
74 </html> | 74 </html> |
OLD | NEW |