Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / 033.html
blob77dfb331e3008cba81dde8cd8b645a201364a129
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: '0' stacks by document order (position: absolute)</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 html, body, div {
13 margin: 0;
14 border: none;
15 padding: 0;
18 div {
19 height: 100px;
20 width: 100px;
23 div#two {
24 top: 0;
25 left: 0;
26 position: absolute;
27 z-index: 0;
30 div#one {
31 background: red;
34 div#two {
35 background: green;
38 </style>
39 </head>
40 <body>
42 <div id="one"></div>
43 <div id="two"></div>
45 </body>
46 </html>