tor-browser

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

grid-lanes-columns-item-containing-block-is-grid-content-width.html (738B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-grid-3/#containing-block">
      6 <link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
      7 <meta name="assert" content="Test passes if SVG uses grid's content logical width for its containing block size and get sized to 100px x 100px">
      8 <style>
      9 grid {
     10    display: grid-lanes;
     11    grid-template-rows: auto;
     12    grid-lanes-direction: row;
     13 }
     14 </style>
     15 </head>
     16 <body>
     17 <p>Test passes if there is a filled green square.</p>
     18 <grid>
     19    <svg width="100" height="100" viewBox="0 0 1 1" style="width: 100%; max-width: 100px; background: green;"></svg>
     20 </grid>
     21 </body>
     22 </html>