tor-browser

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

grid-minimum-size-grid-items-005.html (984B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: Minimum size of grid items</title>
      4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
      5 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items">
      6 <link rel="match" href="ref-filled-green-100px-square-image.html">
      7 <meta name="flags" content="image">
      8 <meta name="assert" content="Checks that minimum size for grid items is the content size.">
      9 <style>
     10  #reference-overlapped-red {
     11    position: absolute;
     12    background-color: red;
     13    width: 100px;
     14    height: 100px;
     15    z-index: -1;
     16  }
     17 
     18  #constrained-grid {
     19    display: grid;
     20    width: 10px;
     21    height: 10px;
     22  }
     23 </style>
     24 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     25 
     26 <div id="reference-overlapped-red"></div>
     27 <div id="constrained-grid">
     28  <img src="support/100x100-green.png" alt="Image download support must be enabled" />
     29 </div>