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