summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/retained-dl-zindex-2-ref.html
blob: 1eac061a7ee14f62c92699d99d0c57bb29833757 (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
<!DOCTYPE html>
<html>
<head>
<style>
div {
  width: 200px;
  height: 200px;
  position:relative;
  will-change:transform;
}
#one {
  top:120px;
  background-color:blue;
}
#two {
  top: -200px;
  left: 100px;
  background-color:green;
}
#three {
  top: -180px;
  left: 100px;
  background-color:red;
  z-index: -1;
}
</style>
</head>
<body>
  <div id="one"></div>
  <div id="two"></div>
  <div id="three"></div>
</body>
</html>