summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-compound-001.html
blob: 1f5ed4ca07fa57ce4556d85468261c511d9c98fa (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
42
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Compound Transforms</title>
    <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com">
    <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-rendering">
    <meta name="assert" content='Tests that applying multiple transforms to an
    element is the same as applying the transforms in the same order to nested
    elements.'>
    <link rel="match" href="transform-compound-ref.html">
    <link rel="mismatch" href="transform-compound-notref-1.html">
    <link rel="mismatch" href="transform-compound-notref-2.html">
    <style>
      body {
        overflow: hidden;
      }
      div {
        transform-origin: top left;
      }
      body > div {
        position: relative;
        left: 200px;
        top: 0;
      }
      body > div > div {
        background-color: gold;
        width: 200px;
        height: 100px;
        border: 1px solid black;
        transform: translate(100px) scale(2) rotate(90deg) skewX(15deg);
      }
    </style>
  </head>
  <body>
    <div>
      <div>
      </div>
    </div>
  </body>
</html>