summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-scaley-001.html
blob: e226156bf8275d13903ec79263fd68cdf8593d8d (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
25
26
27
28
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): scaleY(0.5)</title>
    <link rel="author" title="Clint Talbert" href="mailto:ctalbert@mozilla.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-scaley">
    <meta name="assert" content="This tests that scaleY(0.5) scales down a
    box's width by a factor of one-half.">
    <link rel="match" href="transform-scaley-ref.html">
    <style>
      body {
        margin: 0;
      }

      div {
        background: green;
        width: 100px;
        height: 100px;
        transform: scaleY(0.5);
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>