summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/intermediate-1.html
blob: cfc822f4b270df456e34f56bbb652df29663c92b (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<style type="text/css">

div {
  position: absolute;
  width: 100px;
  height: 100px;
}

.opacity {
  opacity: 0.99;
}

.green {
  transform-style: preserve-3d;
  background-color: green;
}

.flat {
  transform: translateZ(0px);
}

.red {
  width: 300px;
  height: 100px;
  background-color: red;
}

.translate {
  transform: translateX(100px);
}

</style>
</head>

<body>
<div class="red"></div>
<div class="green">
  <div class="flat">
    <div class="translate opacity green">
      <div class="translate green"> </div>
    </div>
  </div>
</div>
</body>
</html>