Index: LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html |
diff --git a/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html b/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html |
index 078a59d96430285109b410bc697df3b8274944e2..f5b371b6f2814c3ec92d0bf74656939e69a3971e 100644 |
--- a/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html |
+++ b/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html |
@@ -8,6 +8,10 @@ |
height: 10px; |
background-color: silver; |
} |
+ ::-webkit-scrollbar { |
+ width: 0px; |
+ height: 0px; |
+ } |
</style> |
<script> |
if (window.testRunner) { |
@@ -40,7 +44,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> |