| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <style> | 4 <style> |
| 5 body { | 5 body { |
| 6 overflow: hidden; | 6 overflow: hidden; |
| 7 } | 7 } |
| 8 .container { | 8 .container { |
| 9 width: 500px; | 9 width: 500px; |
| 10 height: 300px; | 10 height: 300px; |
| 11 -webkit-column-count: 2; | 11 -webkit-column-count: 2; |
| 12 column-count: 2; | 12 column-count: 2; |
| 13 column-fill: auto; | 13 column-fill: auto; |
| 14 border: 1px solid black; | 14 border: 1px solid black; |
| 15 } | 15 } |
| 16 | 16 |
| 17 .block { | 17 .block { |
| 18 display: inline-block; | 18 display: inline-block; |
| 19 width: 200px; | 19 width: 200px; |
| 20 height: 50px; | 20 height: 50px; |
| 21 margin: 10px; | 21 margin: 10px; |
| 22 background-color: silver; | 22 background-color: silver; |
| 23 outline: 5px solid transparent; /* increases compositing layer bounds to t
est bounds math */ | 23 outline: 5px solid transparent; /* increases compositing layer bounds to t
est bounds math */ |
| 24 } | 24 } |
| 25 | 25 |
| 26 .composited { | 26 .composited { |
| 27 -webkit-transform: translateZ(0); | 27 transform: translateZ(0); |
| 28 background-color: blue; | 28 background-color: blue; |
| 29 } | 29 } |
| 30 | 30 |
| 31 .box { | 31 .box { |
| 32 height: 50px; | 32 height: 50px; |
| 33 width: 50px; | 33 width: 50px; |
| 34 background-color: green; | 34 background-color: green; |
| 35 } | 35 } |
| 36 | 36 |
| 37 #layers { | 37 #layers { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 65 <div class="composited block"> | 65 <div class="composited block"> |
| 66 <div class="composited box"></div> | 66 <div class="composited box"></div> |
| 67 </div> | 67 </div> |
| 68 <div class="block"></div> | 68 <div class="block"></div> |
| 69 <div class="block"></div> | 69 <div class="block"></div> |
| 70 </div> | 70 </div> |
| 71 | 71 |
| 72 <pre id="layers">Layer tree goes here in DRT</pre> | 72 <pre id="layers">Layer tree goes here in DRT</pre> |
| 73 </body> | 73 </body> |
| 74 </html> | 74 </html> |
| OLD | NEW |