tor-browser

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

line-names-013.html (845B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Test: Clamping a subgrid's own grid-template-areas</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/#grid-template-areas-property">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      7 <style>
      8 .grid {
      9  background: red;
     10  display: grid;
     11  grid-template: 100px 100px / 100px;
     12  height: 100px;
     13  width: 100px;
     14 }
     15 .subgrid {
     16  display: grid;
     17  grid-template-areas: "item item"
     18                       "item item";
     19  grid-template-rows: subgrid;
     20 }
     21 .item {
     22  background: green;
     23  grid-area: item;
     24 }
     25 </style>
     26 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     27 <div class="grid">
     28  <div class="subgrid">
     29    <div class="item"></div>
     30  </div>
     31 </div>