blob: 2fd1f9df536824379d11a660635166a5db22ed16 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html40/strict.dtd">
<!-- vim:sw=4:et:ts=4
-->
<html lang="en-US">
<head>
<title>z-index testcase: 'auto' stacks by document order (position: fixed)</title>
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="copyright" href="/~dbaron/legal.html">
<style type="text/css">
html, body, div {
margin: 0;
border: none;
padding: 0;
}
div {
height: 100px;
width: 100px;
}
div#two {
top: 0;
left: 0;
position: fixed;
z-index: auto;
}
div#one {
background: red;
}
div#two {
background: green;
}
</style>
</head>
<body>
<div id="one"></div>
<div id="two"></div>
</body>
</html>