tor-browser

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

line-names-011-ref.html (1245B)


      1 <!DOCTYPE HTML>
      2 <!--
      3     Any copyright is dedicated to the Public Domain.
      4     http://creativecommons.org/publicdomain/zero/1.0/
      5 -->
      6 <html><head>
      7  <meta charset="utf-8">
      8  <title>CSS Grid Test: subgrid line names do not apply to non-subgrids</title>
      9  <link rel="author" title="Kurt Catti-Schmidt" href="mailto:kschmi@microsoft.com">
     10  <link rel="help" href="https://drafts.csswg.org/css-grid-2">
     11  <style>
     12    html,body {
     13      color:black; background-color:white; font:12px/1 monospace; padding:0; margin:0;
     14    }
     15 
     16    div > div { background: grey; grid-column:2 / span 2; }
     17 
     18    i {
     19      grid-row: 1;
     20      counter-increment: i;
     21    }
     22    i::before { content: counter(i, decimal); }
     23 
     24    x { background: silver; }
     25  </style>
     26 </head>
     27 <body>
     28 
     29  <div style="display:grid; grid-template-columns: subgrid [a] [b] [c] [d];">
     30    <i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i>
     31      <x style="grid-column: 2 / 3">x</x>
     32  </div>
     33 
     34  <div style="display:grid; grid-template-columns: 'auto [a] auto [b]';">
     35    <i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i>
     36    <div style="display:grid; grid:subgrid [c] [d] [d] [e] / auto; ">
     37      <x style="grid-column: 3">x</x>
     38    </div>
     39  </div>
     40 </body>
     41 </html>