| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
| 6 .trigger { | 6 .trigger { |
| 7 width: 20px; | 7 width: 20px; |
| 8 height: 20px; | 8 height: 20px; |
| 9 background-color: blue; | 9 background-color: blue; |
| 10 -webkit-transform: translateZ(0); | 10 transform: translateZ(0); |
| 11 } | 11 } |
| 12 | 12 |
| 13 .container { | 13 .container { |
| 14 position: relative; | 14 position: relative; |
| 15 z-index: 0; | 15 z-index: 0; |
| 16 top: -10px; | 16 top: -10px; |
| 17 height: 120px; | 17 height: 120px; |
| 18 width: 120px; | 18 width: 120px; |
| 19 padding: 10px; | 19 padding: 10px; |
| 20 border: 1px solid black; | 20 border: 1px solid black; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 49 <div class="trigger"></div> | 49 <div class="trigger"></div> |
| 50 | 50 |
| 51 <div class="container"> | 51 <div class="container"> |
| 52 <div class="child box"> | 52 <div class="child box"> |
| 53 <!-- This box doesn't need its own layer. --> | 53 <!-- This box doesn't need its own layer. --> |
| 54 </div> | 54 </div> |
| 55 </div> | 55 </div> |
| 56 <pre id="layertree"></pre> | 56 <pre id="layertree"></pre> |
| 57 </body> | 57 </body> |
| 58 </html> | 58 </html> |
| OLD | NEW |