| Index: LayoutTests/platform/chromium/compositing/fixed-body-background-positioned.html
|
| diff --git a/LayoutTests/platform/mac-wk2/tiled-drawing/fixed-background/fixed-body-background-positioned.html b/LayoutTests/platform/chromium/compositing/fixed-body-background-positioned.html
|
| similarity index 74%
|
| copy from LayoutTests/platform/mac-wk2/tiled-drawing/fixed-background/fixed-body-background-positioned.html
|
| copy to LayoutTests/platform/chromium/compositing/fixed-body-background-positioned.html
|
| index cb28d5f15937dafba4bf2c5a7f00746cc4d2ca65..8ea1c1080a76a18fac6908839e3136b40ee7e319 100644
|
| --- a/LayoutTests/platform/mac-wk2/tiled-drawing/fixed-background/fixed-body-background-positioned.html
|
| +++ b/LayoutTests/platform/chromium/compositing/fixed-body-background-positioned.html
|
| @@ -1,12 +1,11 @@
|
| <!DOCTYPE html>
|
| -
|
| <html>
|
| <head>
|
| <style>
|
| body {
|
| margin: 100px;
|
| height: 3500px;
|
| - background-image: url('../../../../compositing/resources/simple_image.png');
|
| + background-image: url('../../../compositing/resources/simple_image.png');
|
| background-size: 200px 200px;
|
| background-attachment: fixed;
|
| background-repeat: no-repeat;
|
| @@ -25,15 +24,18 @@
|
| }
|
| </style>
|
| <script>
|
| - if (window.testRunner)
|
| + if (window.testRunner) {
|
| testRunner.dumpAsText(true);
|
| + window.internals.settings.setForceCompositingMode(true);
|
| + window.internals.settings.setAcceleratedCompositingForFixedRootBackgroundEnabled(true);
|
| + }
|
|
|
| function doTest()
|
| {
|
| window.scrollTo(0, 200);
|
|
|
| if (window.internals)
|
| - document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_TILE_CACHES);
|
| + document.getElementById('layers').innerText = internals.layerTreeAsText(document);
|
| }
|
|
|
| window.addEventListener('load', doTest, false);
|
|
|