Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Retained display list test</title>
<style type="text/css">
#child {
position: absolute;
width: 100px;
height: 100px;
top: 300px;
left: 0px;
background-color: green;
}
.container {
position: absolute;
top: 0px;
left: 0px;
width: 200px;
height: 200px;
z-index: 1;
background-color: green;
}
</style>
</head>
<body>
<div class="container">
<div id="child"></div>
</div>
</body>
</html>