| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 | 4 |
| 5 #clipped { | 5 #clipped { |
| 6 position: absolute; | 6 position: absolute; |
| 7 left: 0px; | 7 left: 0px; |
| 8 right: 0px; | 8 right: 0px; |
| 9 width: 100px; | 9 width: 100px; |
| 10 height: 100px; | 10 height: 100px; |
| 11 overflow: hidden; | 11 overflow: hidden; |
| 12 } | 12 } |
| 13 | 13 |
| 14 #child { | 14 #child { |
| 15 width: 500px; | 15 width: 500px; |
| 16 height: 100px; | 16 height: 100px; |
| 17 background-color: green; | 17 background-color: green; |
| 18 -webkit-transform:translateZ(0); | 18 transform:translateZ(0); |
| 19 } | 19 } |
| 20 | 20 |
| 21 #overlap { | 21 #overlap { |
| 22 position: absolute; | 22 position: absolute; |
| 23 left: 400px; | 23 left: 400px; |
| 24 top: 0px; | 24 top: 0px; |
| 25 width: 100px; | 25 width: 100px; |
| 26 height: 100px; | 26 height: 100px; |
| 27 background-color: blue; | 27 background-color: blue; |
| 28 } | 28 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 <div id="clipped"></div> | 62 <div id="clipped"></div> |
| 63 <div id="child"></div> | 63 <div id="child"></div> |
| 64 | 64 |
| 65 <!-- this element should get its own layer --> | 65 <!-- this element should get its own layer --> |
| 66 <div id="overlap"></div> | 66 <div id="overlap"></div> |
| 67 </div> | 67 </div> |
| 68 | 68 |
| 69 <pre id="layertree"></pre> | 69 <pre id="layertree"></pre> |
| 70 </body> | 70 </body> |
| 71 </html> | 71 </html> |
| OLD | NEW |