summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1081185-1.html
blob: 36b7b76966300f090e1b60d82948c666e89e558e (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
<!DOCTYPE html>
<html>
<head>
<style>
body {
  margin-top:100px;
  opacity:0.5;
}

.container {
  width: 120px;
  height: 120px;
  perspective: 100px;
  transform-style: preserve-3d;
}

.bottom {
  width: 120px;
  height: 120px;
  position: absolute;
  background-color: rgba(255,0,255,1);
  transform: translateZ(60px) translateY(120px) rotateX(-90deg);
  transform-origin: left top;
}
</style>
</head>
<body>
<div class="container">
  <div class="bottom"></div>
</div>
</body>
</html>