Index: LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html |
diff --git a/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html b/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html |
index 7247f5287b758582ef3f4829e3995bdda3c9ffd2..f2251aeedc85b6bcd89ae7bcc53b0579d3d45095 100644 |
--- a/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html |
+++ b/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html |
@@ -8,6 +8,10 @@ |
height: 10px; |
background-color: silver; |
} |
+ ::-webkit-scrollbar { |
+ width: 0px; |
+ height: 0px; |
+ } |
</style> |
<script> |
if (window.testRunner) { |
@@ -39,7 +43,7 @@ |
<!-- 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;"> |
+<body style="width: 4000px; height: 4000px;"> |
<div style="height: 1000px"> |
Not scaled: |
<pre id="layerTree"></pre> |