aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/transform-matrix-007.htm
blob: 504386b02466de8e4e9aed5d2c592bb10ae9f26b (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
<!DOCTYPE html>
<html><head>
    <title>CSS Test (Transforms): matrix()/scale()</title>
    <link href="mailto:keith@keithschwarz.com" rel="author" title="Keith Schwarz">
    <link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
    <link href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions" rel="help">
    <link href="http://www.w3.org/TR/css-transforms-1/#funcdef-matrix" rel="help">
    <meta content="This tests that scale() has the same
    effect as an equivalent matrix()." name="assert">
    <link href="reference/transform-matrix-007-ref.htm" rel="match">
    <style>
      div {
        transform: matrix(2, 0, 0, 4, 0, 0);
        width: 100px;
        height: 100px;
        background: gold;
      }
    </style>
  </head>
  <body>
    <div></div>
  

</body></html>