tor-browser

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

standalone-axis-size-003.html (723B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Test: Subgrid contribution size on standalone axis</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/#subgrid-box-alignment">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      7 <style>
      8 .grid {
      9  background: green;
     10  display: inline-grid;
     11  grid-template-rows: 100px;
     12 }
     13 .subgrid {
     14  width: 100px;
     15  display: grid;
     16  grid-template-rows: subgrid;
     17 }
     18 .w200 { width: 200px }
     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 class="subgrid">
     23    <div class="w200"></div>
     24  </div>
     25 </div>