summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/1157984-1.html
blob: be0f6526aa43c39e6fee77f54e6d2e4aad7afef6 (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 lang="en-US" reftest-zoom="1.0">
<head>
  <title>Testcase, bug 1157984</title>
  <meta charset=UTF-8>
  <style type="text/css">

  #outer {
    position:absolute;
    width: 60px;
    height: 60px;
    perspective-origin: 300px 300px;
    perspective: 300px;
    overflow: hidden;
  }

  #inner {
    position:absolute;
    background-color: green;
    width: 600px;
    height: 600px;
    transform-origin: 300px 300px 0px;
    transform: translateZ(300px) rotateY(-2rad) translateZ(300px);
  }
  </style>
</head>
<body>
  <div id="outer">
    <div id="inner"></div>
  </div>
</body>
</html>