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

.container {
  width: 120px;
  height: 120px;
  perspective: 100px;
}

.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>