tor-browser

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

grid-template-flexible-rerun-track-sizing.html (828B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1149627">
      3 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      4 <meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-4309" />
      5 <style>
      6 .grid {
      7  display: inline-grid;
      8  position: relative;
      9  grid-template-columns: minmax(0, .5fr);
     10  grid-template-rows: minmax(0, .5fr);
     11 }
     12 .item {
     13  width: 200px;
     14  height: 200px;
     15  background: linear-gradient(green, green) no-repeat;
     16  background-size: 100px 100px;
     17 }
     18 .abspos {
     19  grid-area: 1 / 1 / 2 / 2;
     20  position: absolute;
     21  width: 200%;
     22  height: 200%;
     23  background: red;
     24  z-index: -1;
     25 }
     26 </style>
     27 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     28 <div class="grid">
     29  <span class="item"></span>
     30  <span class="abspos"></span>
     31 </div>