tor-browser

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

transform3d-rotatex-transformorigin-001.html (1292B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Test (Transforms): rotateX() with 'transform-origin'</title>
      5    <link rel="author" title="Matt Woodrow" href="mailto:mwoodrow@mozilla.com">
      6    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
      7    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-origin-property">
      8    <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#three-d-transform-functions">
      9    <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#funcdef-rotatex">
     10    <meta name="assert" content="This tests that rotateX(45deg) has the same
     11    effect (with perspective) with a top left origin and a top right origin.
     12    It should make no difference, because it doesn't change the axis of
     13    rotation: it's still the top.  (This doesn't actually test the perspective
     14    property, since a UA that doesn't support perspective at all could still
     15    pass.)">
     16    <link rel="match" href="transform3d-rotatex-transformorigin-ref.html">
     17    <link rel="mismatch" href="transform-lime-square-ref.html">
     18  </head>
     19  <body>
     20    <div style="perspective: 1000px;">
     21      <div style="transform: rotatex(45deg); transform-origin: top left;
     22        width: 100px; height: 100px; background: lime"></div>
     23    </div>
     24  </body>
     25 </html>