tor-browser

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

grid-placement-using-named-grid-lines-005.html (903B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: Grid item placement with implicit named line and auto repeat()</title>
      4 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
      5 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#line-placement">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      7 <meta name="assert" content="Grid placement algorithm is able to select the right line when defined implicitly with grid-template-areas.">
      8 <style>
      9 .grid {
     10  display: grid;
     11  width: 300px;
     12  height: 300px;
     13  grid-template-areas: "area";
     14  grid-template-columns: repeat(auto-fill, 100px);
     15  grid-template-rows: repeat(auto-fill, 100px) [area-end] 100px;
     16 }
     17 .grid > div {
     18  grid-area: area;
     19  background: green;
     20 }
     21 </style>
     22 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     23 <div class="grid">
     24  <div></div>
     25 </div>