tor-browser

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

transform-overflow-001.html (996B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Test (Transforms): overflow: auto</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-1/#transform-rendering">
      7    <meta name="assert" content="&quot;. . . if the value of the 'overflow' property
      8    is 'scroll' or 'auto', scrollbars will appear as needed to see content that
      9    is transformed outside the visible area.&quot;  This tests that the effect
     10    of overflow: auto for a translation is the same as for an equivalent
     11    relative positioning.">
     12    <link rel="match" href="transform-overflow-001-ref.html">
     13    <style>
     14      body > div {
     15        height: 200px;
     16        width: 200px;
     17        overflow: auto;
     18      }
     19      body > div > div {
     20        height: 100px;
     21        width: 100px;
     22        background: blue;
     23        transform: translate(150px);
     24      }
     25    </style>
     26  </head>
     27  <body>
     28    <div>
     29      <div></div>
     30    </div>
     31  </body>
     32 </html>