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 1e74ee806437dc0c67eb6efdcda57c07ce4680a5..e801b5273c38f6c839f72e3413a638733a4d7a01 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) { |
@@ -38,7 +42,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> |