aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/transform-origin-001.htm
blob: 377bd3a79c7d7feff1eed62140f3bd7a22cc13fa (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
25
26
27
<!DOCTYPE html>
<html><head>
    <title>CSS Test (Transforms): Default transform-origin not top left</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/#transform-origin-property" rel="help">
    <meta content="A transform-origin of 0% 0% must not result in
    the same rendering as the default of 50% 50%, if a 45-degree rotation is
    applied." name="assert">
    <link href="reference/transform-origin-ref-1.htm" rel="mismatch">
    <style>
      div {
        width: 200px;
        height: 100px;
        border: 1px solid black;
        transform: rotate(45deg);
        transform-origin: 0% 0%;
      }
    </style>
  </head>
  <body>
    <div>
      Some text!
    </div>
  

</body></html>