Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / 024.html
blobaf4a4bc804306347c92bfc7605e69771f45d0008
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html40/strict.dtd">
3 <!-- vim:sw=4:et:ts=4
4 -->
5 <html lang="en-US">
6 <head>
7 <title>z-index testcase: 'auto' gives container stacking level of '0' (variant 2) in its own context (position: fixed)</title>
8 <meta http-equiv="Content-Style-Type" content="text/css">
9 <link rel="copyright" href="/~dbaron/legal.html">
10 <style type="text/css">
12 div {
13 height: 100px;
14 width: 100px;
15 margin: 0;
16 border: none;
17 padding: 0;
18 position: fixed;
19 top: 0;
20 left: 0;
23 div#outer {
24 z-index: auto;
25 background: red;
28 div#inner {
29 background: green;
30 z-index: 0;
33 </style>
34 </head>
35 <body>
37 <div id="outer">
38 <div id="inner"></div>
39 </div>
41 </body>
42 </html>