tor-browser

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

transform-stacking-002.html (975B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Test (Transforms): Stacking, transform: none</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='This tests that "transform: none" does not
      8    create a new stacking context -- it should have no effect at all.'>
      9    <link rel="match" href="transform-lime-square-ref.html">
     10    <style>
     11      body > div:first-child {
     12        transform: none;
     13      }
     14      body > div:first-child > div {
     15        height: 100px;
     16        width: 100px;
     17        background: lime;
     18        z-index: 1;
     19        position: relative;
     20      }
     21      body > div:last-child {
     22        height: 100px;
     23        width: 100px;
     24        background: red;
     25        position: relative;
     26        bottom: 100px;
     27      }
     28    </style>
     29  </head>
     30  <body>
     31    <div>
     32      <div></div>
     33    </div>
     34    <div></div>
     35  </body>
     36 </html>