aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/transform3d-scale-005.htm
blob: a277e5bcb3c75d9c6f72f5d7accb290f98bb1014 (plain) (blame)
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): rotateX(90deg) scale3d(1, 1, 2)
      rotateX(-90deg)</title>
    <link href="mailto:mwoodrow@mozilla.com" rel="author" title="Matt Woodrow">
    <link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
    <link href="http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions" rel="help">
    <link href="http://www.w3.org/TR/css-transforms-1/#funcdef-scale3d" rel="help">
    <meta content="This tests that rotateX(90deg)
    scale3d(1, 1, 2) rotateX(-90deg) is the same as scaleY(2).  Conjugating by
    the rotation swaps the Y and Z coordinates for the scale." name="assert">
    <link href="reference/transform3d-scale-005-ref.htm" rel="match">
  </head>
  <body>
    <div style="transform: rotatex(90deg) scale3D(1,1,2) rotatex(-90deg); transform-origin: 0 0; width: 100px; height: 100px;">
      Test Text
    </div>
  

</body></html>