tor-browser

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

grid-inline-items-inline-blocks-001.html (1108B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: Paint order of grid items within an inline grid is the same as inline blocks</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/#z-order" title="9.5 Z-axis Ordering: the z-index property">
      6 <link rel="help" href="http://www.w3.org/TR/CSS2/zindex.html#painting-order" title="E.2 Painting order">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      9 <style>
     10  #inline-grid {
     11    display: inline-grid;
     12  }
     13 
     14  #reference-overlapped-red {
     15    color: red;
     16    font: 100px/1 Ahem;
     17    grid-row: 1;
     18    grid-column: 1;
     19  }
     20 
     21  #test-overlapping-green {
     22    background-color: green;
     23    width: 100px;
     24    height: 100px;
     25    grid-row: 1;
     26    grid-column: 1;
     27  }
     28 </style>
     29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     30 
     31 <div id="inline-grid">
     32  <div id="reference-overlapped-red">R</div>
     33  <div id="test-overlapping-green"></div>
     34 </div>