| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 #container { | 4 #container { |
| 5 position: absolute; | 5 position: absolute; |
| 6 top: 0px; | 6 top: 0px; |
| 7 left: 400px; | 7 left: 400px; |
| 8 -webkit-transform: translateZ(0); | 8 transform: translateZ(0); |
| 9 } | 9 } |
| 10 | 10 |
| 11 #red { | 11 #red { |
| 12 position: absolute; | 12 position: absolute; |
| 13 top: 0px; | 13 top: 0px; |
| 14 left: -400px; | 14 left: -400px; |
| 15 height: 256px; | 15 height: 256px; |
| 16 width: 256px; | 16 width: 256px; |
| 17 background-color: red; | 17 background-color: red; |
| 18 } | 18 } |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 <!-- this red square should not appear over the green square --> | 58 <!-- this red square should not appear over the green square --> |
| 59 <div id="red"></div> | 59 <div id="red"></div> |
| 60 </div> | 60 </div> |
| 61 | 61 |
| 62 <!-- This green square should composite because it overlaps the red one --> | 62 <!-- This green square should composite because it overlaps the red one --> |
| 63 <div id="green"></div> | 63 <div id="green"></div> |
| 64 | 64 |
| 65 <pre id="layertree"></pre> | 65 <pre id="layertree"></pre> |
| 66 </body> | 66 </body> |
| 67 </html> | 67 </html> |
| OLD | NEW |