tor-browser

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

grid-placement-items-spanning-multiple-rows-001.html (868B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: Placement of grid items spanning multiple rows</title>
      4 <link rel="author" title="Ethan Jimenez" href="mailto:ethavar@microsoft.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-grid-2/#auto-placement-algo" title="8.5. Grid Item Placement Algorithm">
      6 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1237036">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      8 <style>
      9 .grid {
     10  width: 100px;
     11  display: grid;
     12  background: red;
     13  grid-auto-rows: 25px;
     14  grid-template-columns: 50px 50px;
     15 }
     16 .grid > div {
     17  background: green;
     18 }
     19 </style>
     20 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     21 <div class="grid">
     22  <div style="grid-row: span 4"></div>
     23  <div></div>
     24  <div></div>
     25  <div></div>
     26  <div></div>
     27 </div>