tor-browser

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

transform3d-perspective-002.html (932B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Test (Transforms): Inherited Perspective</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/#perspective-property">
      7    <meta name="assert" content="This tests that 'perspective: inherit' works
      8    the same as specifying that perspective to start with.">
      9    <meta name="fuzzy" content="maxDifference=0-2;totalPixels=0-215">
     10    <link rel="match" href="transform3d-perspective-001-ref.html">
     11    <link rel="mismatch" href="transform-lime-square-ref.html">
     12  </head>
     13  <body>
     14    <div style="perspective: 1000px">
     15      <div style="perspective: inherit; perspective-origin: 50px 50px">
     16        <div style="height: 100px; width: 100px; background: lime;
     17          transform: rotatex(45deg) scaley(1.41421356); transform-origin: top">
     18        </div>
     19      </div>
     20    </div>
     21  </body>
     22 </html>