Index: LayoutTests/compositing/layer-creation/scroll-blocks-on-default.html |
diff --git a/LayoutTests/compositing/layer-creation/scroll-blocks-on-default.html b/LayoutTests/compositing/layer-creation/scroll-blocks-on-default.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..408a857243c5f79b16ae48cbd297fa16c3d3a5cc |
--- /dev/null |
+++ b/LayoutTests/compositing/layer-creation/scroll-blocks-on-default.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<style> |
+#layer { |
+ transform: translateZ(0); |
+ width: 20px; |
+ height: 20px; |
+} |
+</style> |
+<div id="layer"></div> |
+<iframe srcdoc="<div style='width: 15px;'></div>"></iframe> |
+<script> |
+ onload = function() { |
+ if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ var output = "Verify we get the default scroll-blocks-on mode applied to the viewport, no additional layers created (even with an iframe), and no scroll-blocks-on mode applied to any other layer.\n\n"; |
+ output += internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_SCROLL_BLOCKS_ON); |
+ testRunner.setCustomTextOutput(output); |
+ } |
+ }; |
+</script> |