aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1print/transform-origin-001.xht
blob: 9fcbfca075d805ff570729cc903b41a26deaef73 (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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><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.xht" 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>