| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style> | 5 <style> |
| 6 body { | 6 body { |
| 7 overflow: hidden; /* hide body scrollbars */ | 7 overflow: hidden; /* hide body scrollbars */ |
| 8 } | 8 } |
| 9 .scene { | 9 .scene { |
| 10 position: relative; | 10 position: relative; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 opacity: 0; /* hide from pixel result */ | 30 opacity: 0; /* hide from pixel result */ |
| 31 } | 31 } |
| 32 </style> | 32 </style> |
| 33 <script> | 33 <script> |
| 34 if (window.testRunner) | 34 if (window.testRunner) |
| 35 testRunner.dumpAsText(true); | 35 testRunner.dumpAsText(true); |
| 36 | 36 |
| 37 function doTest() | 37 function doTest() |
| 38 { | 38 { |
| 39 if (window.internals) { | 39 if (window.internals) { |
| 40 document.getElementById('layers').innerText = internals.layerTre
eAsText(document, | 40 document.getElementById('layers').innerText = internals.layerTre
eAsText(document); |
| 41 internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYE
R_TREE_INCLUDES_TILE_CACHES); | |
| 42 } | 41 } |
| 43 } | 42 } |
| 44 | 43 |
| 45 window.addEventListener('load', doTest, false); | 44 window.addEventListener('load', doTest, false); |
| 46 </script> | 45 </script> |
| 47 </head> | 46 </head> |
| 48 <body> | 47 <body> |
| 49 | 48 |
| 50 <div class="scene"> | 49 <div class="scene"> |
| 51 <div class="tiled"></div> | 50 <div class="tiled"></div> |
| 52 </div> | 51 </div> |
| 53 <pre id="layers">Layer tree goes here</p> | 52 <pre id="layers">Layer tree goes here</p> |
| 54 | 53 |
| 55 </body> | 54 </body> |
| 56 </html> | 55 </html> |
| OLD | NEW |