aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1print/transform-origin-002.xht
blob: 02af1da477cd895583ec966875286b35504a1cb1 (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 center right</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 100% 50% 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: 100% 50%;
      }
    </style>
  </head>
  <body>
    <div>
      Some text!
    </div>
  

</body></html>