summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform3d-perspective-origin-001.html
blob: 791d4bd136cc10a29030eb92ae603904a8a79f6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): perspective-origin</title>
    <link rel="author" title="Matt Woodrow" href="mailto:mwoodrow@mozilla.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#propdef-perspective-origin">
    <meta name="assert" content="This tests that 'perspective-origin: 0 0' is
    the same as 'perspective-origin: top left', different from no
    'perspective-origin', and different from no perspective or no transform.">
    <link rel="match" href="transform3d-perspective-origin-ref.html">
  </head>
  <body>
    <div style="perspective: 1000px; perspective-origin: 0 0;">
      <div style="transform: rotatex(45deg); width: 100px; height: 100px;
        background: lime">
      </div>
    </div>
  </body>
</html>