summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/backface-visibility-3.html
blob: ec8d648de9c61dbf533ae5897c7925e8728e40fe (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
<!DOCTYPE html>
<html>
<head>
  <style type='text/css'>
    body {
      overflow: hidden;
    }
    #test {
      transform-origin: 0 0;
      transform: scale(2) translateX(100px);
      transform-style: preserve-3d;
    }
    #test div {
      position: absolute;
      display: block;
      width: 80px;
      height: 80px;
      background: red;
      top:50px;
      left:50px;

     backface-visibility: hidden;
    }
  </style>
</head>
<body>
  <div id="test">
    <div></div>
  </div>
</body>
</html>