tor-browser

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

grid-display-inline-grid-001.html (1185B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: 'inline-grid' value for 'display' property</title>
      4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
      5 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2014-11-18 -->
      6 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#grid-containers" title="3.1 Establishing Grid Containers">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      8 <meta name="assert" content="This test checks that 'inline-grid' value for 'display' property generates an inline level containing box.">
      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  .test-inline-grid-overlapping-green {
     19    display: inline-grid;
     20    background-color: green;
     21    width: 50px;
     22    height: 100px;
     23  }
     24 </style>
     25 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     26 
     27 <div id="reference-overlapped-red"></div>
     28 <div class="test-inline-grid-overlapping-green"></div><div class="test-inline-grid-overlapping-green"></div>