tor-browser

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

transform-stacking-004.html (1068B)


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