tor-browser

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

grid-areas-overflowing-grid-container-007.html (1021B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: Grid areas 'overflowing' the grid container size</title>
      4 <link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-grid/#grid-model">
      6 <link rel="help" href="https://drafts.csswg.org/css-overflow-3/#propdef-overflow">
      7 <link rel="match" href="reference/100x100-grey-box.html">
      8 <meta name="assert" content="This test verifies that the scrollbars are not shown on a grid with an item with 0px width even when it's placed in a grid area outside the boundaries of the grid container.">
      9 <link href="/css/support/grid.css" rel="stylesheet">
     10 <style>
     11    .grid {
     12       grid: 100px 100px / 100px 100px;
     13       width: 100px;
     14       height: 100px;
     15    }
     16    .item {
     17       grid-column: 2;
     18       grid-row: 2;
     19       width: 0px;
     20       height: 50px;
     21    }
     22 </style>
     23 <p>The test passes if you see a grey square below without any scrollbar.</p>
     24 <div class="grid"><div class="item"></div></div>