summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/individual-transform/individual-transform-2a.html
blob: 3f6c97386bae62103d66b208bdf0660f4f58b0f7 (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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Individual transform: combine individual transform properties</title>
    <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
    <link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
    <link rel="help" href="https://drafts.csswg.org/css-transforms-2/#ctm">
    <meta name="assert" content="Tests that we combine transforms in the correct order."/>
    <link rel="match" href="individual-transform-2-ref.html">
    <style>
      div {
        position: fixed;
        width: 100px;
        height: 100px;
        top: 200px;
        left: 200px;
        transform-origin: 0 0;
        border-style: solid;
        border-width: 10px 0px 10px 0px;
        border-color: lime;
        translate: 50px 50px;
        rotate: 45deg;
        scale: 2 2;
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>