OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style type="text/css"> | 4 <style type="text/css"> |
5 #backgournd_color_container { | 5 #backgournd_color_container { |
6 background-color: green; | 6 background-color: green; |
7 position: absolute; | 7 position: absolute; |
8 -webkit-transform: translateZ(0); | 8 transform: translateZ(0); |
9 } | 9 } |
10 #nested_container { | 10 #nested_container { |
11 width: 200px; | 11 width: 200px; |
12 height: 200px; | 12 height: 200px; |
13 position: relative; | 13 position: relative; |
14 } | 14 } |
15 #issue { | 15 #issue { |
16 width: 100px; | 16 width: 100px; |
17 height: 100px; | 17 height: 100px; |
18 background-color: red; | 18 background-color: red; |
19 position: absolute; | 19 position: absolute; |
20 } | 20 } |
21 #compositing { | 21 #compositing { |
22 left: 100px; | 22 left: 100px; |
23 top: 100px; | 23 top: 100px; |
24 width: 100px; | 24 width: 100px; |
25 height: 100px; | 25 height: 100px; |
26 position: absolute; | 26 position: absolute; |
27 background-color: blue; | 27 background-color: blue; |
28 -webkit-transform: translateZ(0); | 28 transform: translateZ(0); |
29 } | 29 } |
30 </style> | 30 </style> |
31 </head> | 31 </head> |
32 <body> | 32 <body> |
33 <div id="backgournd_color_container"> | 33 <div id="backgournd_color_container"> |
34 <div id="nested_container"> | 34 <div id="nested_container"> |
35 <div id="issue"></div> | 35 <div id="issue"></div> |
36 <div id="compositing"></div> | 36 <div id="compositing"></div> |
37 </div> | 37 </div> |
38 </div> | 38 </div> |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |