tor-browser

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

grid-inline-items-001.html (1261B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: Regular and anonymous grid items within an inline grid</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/#grid-items" title="4 Grid Items">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      7 <meta name="flags" content="ahem">
      8 <meta name="assert" content="Checks that inline grid container children become grid items, and text that is directly contained inside the inline grid is wrapped in an anonymous grid item.">
      9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     10 <style>
     11  #reference-overlapped-red {
     12    position: absolute;
     13    background-color: red;
     14    width: 100px;
     15    height: 100px;
     16    z-index: -1;
     17  }
     18 
     19  .test-inline-grid-overlapping-green {
     20    display: inline-grid;
     21    font: 25px/1 Ahem;
     22    color: green;
     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">
     29  <div>it</div>
     30  em
     31  <div>it</div>
     32  em
     33 </div><div class="test-inline-grid-overlapping-green">
     34  it
     35  <span>em</span>
     36  it
     37  <span>em</span>
     38 </div>