Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / 011.html
blobf831f669315c7655f79f210829aa4704d6c1f9bc
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' stacks by document order (position: relative)</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 margin-top: -100px;
27 div#two {
28 position: relative;
29 z-index: auto;
32 div#one {
33 background: red;
36 div#two {
37 background: green;
40 </style>
41 </head>
42 <body>
44 <div id="one"></div>
45 <div id="two"></div>
47 </body>
48 </html>