OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 div { | 5 div { |
6 width: 100px; | 6 width: 100px; |
7 height: 100px; | 7 height: 100px; |
8 } | 8 } |
9 | 9 |
10 .composited { | 10 .composited { |
11 -webkit-transform: translateZ(0px); | 11 transform: translateZ(0px); |
12 } | 12 } |
13 | 13 |
14 .clips { | 14 .clips { |
15 overflow: hidden; | 15 overflow: hidden; |
16 } | 16 } |
17 | 17 |
18 .container { | 18 .container { |
19 position: absolute; | 19 position: absolute; |
20 left: 0px; | 20 left: 0px; |
21 top: 0px; | 21 top: 0px; |
22 overflow: hidden; | 22 overflow: hidden; |
23 -webkit-transform: translateX(110px); | 23 transform: translateX(110px); |
24 } | 24 } |
25 | 25 |
26 .under { | 26 .under { |
27 background-color: red; | 27 background-color: red; |
28 position:absolute; | 28 position:absolute; |
29 left: 0px; | 29 left: 0px; |
30 top: 0px; | 30 top: 0px; |
31 } | 31 } |
32 | 32 |
33 .over { | 33 .over { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 <div class="container clips"> | 68 <div class="container clips"> |
69 <div class="under composited"></div> | 69 <div class="under composited"></div> |
70 <div class="over"></div> | 70 <div class="over"></div> |
71 </div> | 71 </div> |
72 | 72 |
73 <pre id="layertree"></pre> | 73 <pre id="layertree"></pre> |
74 | 74 |
75 </body> | 75 </body> |
76 | 76 |
77 </html> | 77 </html> |
OLD | NEW |