| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style type="text/css"> | 3 <style type="text/css"> |
| 4 body { | 4 body { |
| 5 margin: 0; | 5 margin: 0; |
| 6 overflow: hidden; | 6 overflow: hidden; |
| 7 } | 7 } |
| 8 | 8 |
| 9 .container { | 9 .container { |
| 10 visibility: hidden; | 10 visibility: hidden; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 position: absolute; | 24 position: absolute; |
| 25 top: 0; | 25 top: 0; |
| 26 left: 0; | 26 left: 0; |
| 27 background-color:red; | 27 background-color:red; |
| 28 } | 28 } |
| 29 | 29 |
| 30 .visible-box { | 30 .visible-box { |
| 31 background-color:green; | 31 background-color:green; |
| 32 } | 32 } |
| 33 .composited { | 33 .composited { |
| 34 -webkit-transform:translateZ(0); | 34 transform:translateZ(0); |
| 35 height: 10px; | 35 height: 10px; |
| 36 width: 10px; | 36 width: 10px; |
| 37 } | 37 } |
| 38 pre { | 38 pre { |
| 39 opacity: 0; /* hide in pixel result */ | 39 opacity: 0; /* hide in pixel result */ |
| 40 height: 16px; /* avoid platform-dependent height difference of hidden te
xt layer-tree */ | 40 height: 16px; /* avoid platform-dependent height difference of hidden te
xt layer-tree */ |
| 41 } | 41 } |
| 42 </style> | 42 </style> |
| 43 <script> | 43 <script> |
| 44 if (window.testRunner) | 44 if (window.testRunner) |
| (...skipping 17 matching lines...) Expand all Loading... |
| 62 <div style="visibility:visible;"> | 62 <div style="visibility:visible;"> |
| 63 <div class="visible-box box"> | 63 <div class="visible-box box"> |
| 64 <div class="composited box"></div> | 64 <div class="composited box"></div> |
| 65 </div> | 65 </div> |
| 66 </div> | 66 </div> |
| 67 </div> | 67 </div> |
| 68 </div> | 68 </div> |
| 69 <pre id="layer-tree">Layer tree goes here in DRT</pre> | 69 <pre id="layer-tree">Layer tree goes here in DRT</pre> |
| 70 </body> | 70 </body> |
| 71 </html> | 71 </html> |
| OLD | NEW |