Have fixedPositionCreatesStackingContext be on by default everywhere
[WebKit-https.git] / LayoutTests / fast / block / positioning / fixed-position-stacking-context2.html
1 <!DOCTYPE html>
2 <title>Fixed position elements do establish stacking contexts with setting enabled</title>
3 <style>
4 div {
5     height: 100px;
6     width: 100px;
7     margin: 0;
8     padding: 0;
9     top: 0;
10     left: 0;
11     position:fixed;
12 }
13
14 .green {
15     position:fixed;
16     background: green;
17     z-index: 1;
18 }
19
20 .red {
21     position:fixed;
22     background: red;
23     z-index: 2;
24 }
25 </style>
26 <div class="green"></div>
27 <div class="container">
28   <div class="green"></div>
29   <div class="red"></div>
30 </div>