summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-matrix-003.html
blob: ba74a8938a9559bff10000899e2bbb8086c2a025 (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
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): matrix()/translateX(%)</title>
    <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#funcdef-transform-matrix">
    <meta name="assert" content='This tests that translateX() with a percentage
    argument has the same effect as an equivalent matrix().'>
    <link rel="match" href="transform-matrix-003-ref.html">
    <style>
      div {
        transform: matrix(1, 0, 0, 1, 47, 0);
        width: 100px;
        height: 100px;
        background: gold;
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>