tor-browser

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

grid-inline-multicol-001.html (1303B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: 'column-*' properties from inline grid container does not apply to 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/#grid-containers" title="3.1 Establishing Grid Containers">
      6 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-number-and-width-of-columns" title="3. The number and width of columns">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      8 <meta name="assert" content="This test checks that 'column-*' properties in the Multicol module are ignored in grid items when applied to an inline grid container.">
      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-overlapping-green {
     19    background-color: green;
     20    width: 100px;
     21    height: 50px;
     22  }
     23 
     24  .inline-grid {
     25    display: inline-grid;
     26    column-width: 50px;
     27  }
     28 </style>
     29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     30 
     31 <div id="reference-overlapped-red"></div>
     32 
     33 <div class="inline-grid">
     34  <div class="test-overlapping-green"></div>
     35  <div class="test-overlapping-green"></div>
     36 </div>