Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / fixed-position-stacking-context2.html
blob066b7b7499edbd12c8d3166648a4edb3b2d17660
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;
14 .green {
15 position:fixed;
16 background: green;
17 z-index: 1;
20 .red {
21 position:fixed;
22 background: red;
23 z-index: 2;
25 </style>
26 <div class="green"></div>
27 <div class="container">
28 <div class="green"></div>
29 <div class="red"></div>
30 </div>