summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1207326-1.html
blob: 91dfc0eb1d47ca5e44386b4adf5a3ce63793ca6f (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
<!DOCTYPE html>
<html>
<head>
  <title>Testcase for bug 1207326</title>
  <style>
    .wrap1 {
      position: absolute;
      width: 600px;
      height: 600px;
      transform: perspective(500px) rotateY(6deg) scale(0.7, 0.7);
      overflow: hidden;
    }
    .wrap2 {
      position: relative;
      margin-top: -300px;
      margin-left: -300px;
    }
    .inner {
      position: relative;
      height: 100%;
      background-color: purple;
      will-change: transform;
    }
    .main {
      overflow: hidden;
      height: 100px;
      width: 100px;
    }
  </style>
</head>
<body>
  <div class="main">
    <div class="wrap2">
      <div class="wrap1">
        <div class="inner">
        </div>
      </div>
    </div>
  </div>
</body>
</html>