| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <!-- | 2 <!-- |
| 3 This test simply checks that when we have multiple 3d rendering contexts, that | 3 This test simply checks that when we have multiple 3d rendering contexts, that |
| 4 they get separate and unique id's in the layer tree dump. | 4 they get separate and unique id's in the layer tree dump. |
| 5 --> | 5 --> |
| 6 <html> | 6 <html> |
| 7 <head> | 7 <head> |
| 8 <style> | 8 <style> |
| 9 .composited { | 9 .composited { |
| 10 transform: translateZ(0); | 10 transform: translateZ(0); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 left: 4000px; | 26 left: 4000px; |
| 27 } | 27 } |
| 28 </style> | 28 </style> |
| 29 <script> | 29 <script> |
| 30 if (window.testRunner) | 30 if (window.testRunner) |
| 31 testRunner.dumpAsText(); | 31 testRunner.dumpAsText(); |
| 32 | 32 |
| 33 | 33 |
| 34 function dumpLayerTree() { | 34 function dumpLayerTree() { |
| 35 if (window.internals) | 35 if (window.internals) |
| 36 document.getElementById("console").innerHTML = window.internals.layerT
reeAsText(document); | 36 document.getElementById("console").innerHTML = window.internals.layerT
reeAsText(document, window.internals.OUTPUT_CHILDREN_AS_LAYER_LIST); |
| 37 } | 37 } |
| 38 | 38 |
| 39 window.onload = dumpLayerTree; | 39 window.onload = dumpLayerTree; |
| 40 </script> | 40 </script> |
| 41 </head> | 41 </head> |
| 42 <body> | 42 <body> |
| 43 <div class="composited" id="grandparent"> | 43 <div class="composited" id="grandparent"> |
| 44 <div class="composited" id="parent"> | 44 <div class="composited" id="parent"> |
| 45 <div class="composited" id="child"> | 45 <div class="composited" id="child"> |
| 46 </div> | 46 </div> |
| 47 </div> | 47 </div> |
| 48 </div> | 48 </div> |
| 49 <pre id="console"></pre> | 49 <pre id="console"></pre> |
| 50 </body> | 50 </body> |
| 51 </html> | 51 </html> |
| OLD | NEW |