blob: 30a3ffcad74143f948c1d63aa4360ab81168525f [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: canvas background baseline (position: relative)</title>
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="copyright" href="/~dbaron/legal.html">
<style type="text/css">
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
border: none;
}
body {
background: red;
}
div {
background: green;
position: relative;
z-index: 1;
height: 100%;
width: 100%;
}
</style>
</head>
<body>
<div></div>
</body>
</html>