Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / squashing / composited-bounds-for-negative-z.html
1 <!DOCTYPE html>
2 <div style="transform: translateZ(0);
3             height: 10px;
4             width: 10px;
5             position: absolute;
6             background-color: red;
7             z-index: -1"></div>
8 <div style="margin-left: 100px;
9             margin-top: 100px;
10             height: 300px;
11             width: 300px;
12             overflow-y: scroll;">
13     <div style="position: relative">
14         <div style="position: relative;
15                     height: 1000px;
16                     background-color: lightblue">
17         </div>
18     </div>
19 </div>
20 <script>
21 if (window.testRunner) {
22     testRunner.dumpAsText();
23     internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
24     internals.settings.setLayerSquashingEnabled(true);
25     testRunner.setCustomTextOutput(internals.layerTreeAsText(document));
26 }
27 </script>