Index: LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html |
diff --git a/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html b/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html |
index 480557cf8c214a4916a7415456ce5cf58deb2811..c86616f8eff649485782c37c97cb687ffce726a3 100644 |
--- a/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html |
+++ b/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html |
@@ -26,7 +26,10 @@ |
</script> |
</head> |
-<body> |
+<!-- Fixed position elements may skip compositing without a scrollable |
+ancestor. To make sure this test covers the intended scenario, we force the |
+body element to be tall, so that the FrameView is scrolling. --> |
+<body style="height: 4000px;"> |
Layer tree when the fixed elements are out-of-view (should be blank): |
<pre id="layerTree1"></pre> |
Layer tree when the fixed elements are in-view (both fixed elements should have layers): |