tor-browser

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

contain-strict-subgrid.html (433B)


      1 <!DOCTYPE html>
      2 <head>
      3 <title>contain: strict element with subgrid properties</title>
      4 <link rel="author" title="Mozilla" href="https://mozilla.org">
      5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1606485">
      6 </head>
      7 <style>
      8 
      9 #gridcontainer {
     10  display: grid;
     11  contain: strict;
     12 }
     13 
     14 .item {
     15  display: grid;
     16  grid: subgrid [x] / subgrid [x];
     17 }
     18 </style>
     19 <div id="gridcontainer">
     20 <div class="item">Text1</div>
     21 </div>