| <!DOCTYPE html> | |
| <!-- | |
| This test dumps the full composited layer tree on a blank page with overflow. | |
| --> | |
| <style> | |
| html { overflow: scroll; width: 1200px; height: 900px; } | |
| /* Fixed scrollbar thickness for consistency across platforms. */ | |
| ::-webkit-scrollbar { width: 20px; height: 20px; } | |
| ::-webkit-scrollbar-thumb { background-color: blue; } | |
| </style> | |
| <script> | |
| testRunner.dumpAsText(); | |
| testRunner.setCustomTextOutput( | |
| "Layer tree:\n" + | |
| internals.layerTreeAsText(document, | |
| internals.OUTPUT_AS_LAYER_TREE | | |
| internals.LAYER_TREE_INCLUDES_ROOT_LAYER) + | |
| "\nLayer list\n" + | |
| internals.layerTreeAsText(document, | |
| internals.LAYER_TREE_INCLUDES_ROOT_LAYER)); | |
| </script> |