summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-compound-notref-1.html
blob: c04367cad35f4268cd5fe63f506f84f0357008e0 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Reftest Reference</title>
    <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <style>
      body {
        overflow: hidden;
      }
      div {
        transform-origin: top left;
      }
      body > div {
        position: relative;
        left: 200px;
        top: 0;
      }
      div.test {
        background-color: gold;
        width: 200px;
        height: 100px;
        border: 1px solid black;
      }
    </style>
  </head>
  <body>
    <div>
      <div style="transform: skewX(15deg);">
        <div style="transform: rotate(90deg);">
          <div style="transform: scale(2);">
            <div style="transform: translate(100px);">
              <div class="test">
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>