Index: third_party/WebKit/LayoutTests/compositing/layer-tree.html |
diff --git a/third_party/WebKit/LayoutTests/compositing/layer-tree.html b/third_party/WebKit/LayoutTests/compositing/layer-tree.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2076a445503d68ff81d174144f75ea76afeaa209 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/compositing/layer-tree.html |
@@ -0,0 +1,19 @@ |
+<!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( |
+ internals.layerTreeAsText(document, |
+ internals.OUTPUT_AS_LAYER_TREE | |
+ internals.LAYER_TREE_INCLUDES_ROOT_LAYER)); |
+ |
+</script> |