summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-origin-name-006.html
blob: 775efe5f8bfe2719b110b7de265a0a4c7d99471c (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
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): transform-origin: top right</title>
    <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-origin-property">
    <meta name="assert" content='This tests that &apos;transform-origin:
    top right&apos; is the same as &apos;transform-origin: 100% 0%&apos;.'>
    <link rel="match" href="transform-origin-name-ref-3.html">
    <link rel="mismatch" href="transform-origin-name-notref.html">
    <style>
      div {
        margin: 300px 0 0 300px;
        width: 100px;
        height: 200px;
        background: #202040;
        transform: rotate(45deg);
        transform-origin: top right;
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>