summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/perspective-origin-4a.html
blob: ee2a0fabfa5426149d58df3ec1e8d60ec6c50238 (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
<!DOCTYPE html>
<html lang="en">
<head>
  <title>Testcase for bug 770629</title>
  <style>

.outer {
  position: absolute;
  left: 100px;
  transform: scale(0.5,1);
  perspective: 200px; 
  perspective-origin: 50% 0px;
}

.inner {
  width: 100px;
  height: 100px;
  background: blue;
  transform: rotateY(0deg);
}

  </style>
</head>
<body>
  <div class="outer"> 
    <div class="inner"></div> 
  </div>
</body>
</html>