Revision 190c3feba3a42cbc4c32facd7994c190589d889e authored by Liam R. E. Quin on 26 March 2018, 01:04:45 UTC, committed by Liam R. E. Quin on 26 March 2018, 01:04:45 UTC
1 parent 2b4cdad
Raw File
transform-compound-001.html
<!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>
back to top