8 background-image: url('resources/simple_image.png');
9 background-size:
200px
200px;
10 background-attachment: fixed;
11 background-repeat: no-repeat;
12 background-position: bottom right;
18 background-color: rgba(
0,
0,
0,
0.5);
19 border:
20px solid orange;
22 <script src=
"../resources/run-after-layout-and-paint.js"></script>
24 if (window
.testRunner
) {
25 testRunner
.dumpAsTextWithPixelResults();
26 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
31 window
.scrollTo(0, 200);
33 runAfterLayoutAndPaint(function()
35 if (window
.internals
&& window
.testRunner
) {
36 var layerTree
= internals
.layerTreeAsText(document
, internals
.LAYER_TREE_INCLUDES_ROOT_LAYER
);
37 if (layerTree
.indexOf('\n {\n\n }\n') != -1)
38 layerTree
= internals
.layerTreeAsText(document
, 1 | internals
.LAYER_TREE_INCLUDES_ROOT_LAYER
);
39 testRunner
.setCustomTextOutput(layerTree
);
44 window
.addEventListener('load', doTest
, false);
48 <div class=
"test"></div>