tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

transform3d-preserve3d-010.html (926B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Test (Transforms): rotatex() With Preserve-3D</title>
      5    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
      6    <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property">
      7    <meta name="assert" content="This tests that two rotations of 22.5deg
      8    properly add when preserve-3d is used.  The result, a 45deg rotation around
      9    the X-axis, should be equivalent to shrinking the height by a factor of
     10    sqrt(2), i.e., 1.41421356....">
     11    <link rel="match" href="transform-lime-square-ref.html">
     12    <meta name=fuzzy content="0-200;0-100">
     13    <style>
     14      div {
     15        transform: rotatex(22.5deg);
     16        transform-origin: top;
     17      }
     18    </style>
     19  </head>
     20  <body>
     21    <div style="transform-style: preserve-3d">
     22      <div style="height: 141.421356px; width: 100px; background: lime"></div>
     23    </div>
     24  </body>
     25 </html>