Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / squashing / composited-bounds-for-negative-z.html
blob818f56d15163db0061a0496d88c47f741221df9e
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.setPreferCompositingToLCDTextEnabled(true);
24 testRunner.setCustomTextOutput(internals.layerTreeAsText(document));
26 </script>