summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/1428993-2-ref.html
blob: a5ed24618f8a4e49a74260767b7f0e6297f1a572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!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>