Composited negative z-index elements are hidden behind the body sometimes
[WebKit-https.git] / LayoutTests / compositing / backgrounds / negative-z-index-behind-body-non-propagated.html
1 <style>
2 html {
3     background: gray;
4 }
5 body {
6     position: relative;
7     background: silver;
8 }
9
10 div {
11     position: absolute;
12     z-index: -1;
13     transform: translateZ(0);
14 }
15 .green {
16     background-color: green;
17     width: 200px;
18     height: 200px;
19 }
20 </style>
21 <body>
22 <div class="green"></div>
23 <div></div>