summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/reflections/opacity-reflection-transform.html
blob: 7ca289dd678d598af76bdec6ff04d29ccba8c21c (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>
  <head>
    <style type="text/css" media="screen">
      .box {
        width: 100px;
        height: 100px;
      }

      .alpha {
        margin: 20px 100px;
        opacity: 0.9;
        border: 1px solid black;
      }
      
      .reflected {
        width: 200px;
        background-color: green;
        -webkit-transform-origin: top left;
        -webkit-transform: rotate(20deg);
        -webkit-box-reflect: right 20px;
      }
      
    </style>
  </head>

  <p>Test that opacity doesn't cause clipping of transformed, reflected content. You should see a rotated green box and its full reflection.</p>
  <div class="alpha box">
    <div class="reflected box">
    </div>
  </div>
</html>