40 lines
766 B
HTML
40 lines
766 B
HTML
<!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: background covering area of canvas still on root (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: green;
|
|
}
|
|
|
|
div {
|
|
position: relative;
|
|
z-index: -1;
|
|
background: red;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div></div>
|
|
|
|
</body>
|
|
</html>
|