aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/reference/transforms-skewX-ref.xht
blob: d9d6150610bbe8fea6be46e36dccfbde689b1ac8 (plain) (blame)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <title>CSS Transforms Test: transform property with skew function for X axis.</title>
    <link href="mailto:jinxin.bai@gmail.com" rel="author" title="Jacy-Bai" />
    <link href="mailto:shendayang@baidu.com" rel="reviewer" title="Dayang Shen" /> <!-- 2013-09-03 -->
    <style type="text/css">
      .triangle-topright {
        position: absolute;
        width: 0;
        height: 0;
        top: 50px;
        left: 50px;
        border-top: 100px solid green;
        border-left: 100px solid transparent;
      }

      .triangle-bottomleft {
        position: absolute;
        width: 0;
        height: 0;
        top: 50px;
        left: 150px;
        border-bottom: 100px solid green;
        border-right: 100px solid transparent;
      }
    </style>
  </head>
  <body>
    <p>The test passes if there is a parallelogram and no red.</p>
    <div class="triangle-topright"></div>
    <div class="triangle-bottomleft"></div>
  

</body></html>