tor-browser

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

grid-areas-overflowing-grid-container-003.html (1083B)


      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-with-scrollbars.html">
      8 <meta name="assert" content="This test verifies that the scrollbars are shown on a grid with an item placed inside the boundaries of the grid container, if there are grid areas which exceed the grid container size.">
      9 <link href="/css/support/grid.css" rel="stylesheet">
     10 <style>
     11    .grid {
     12       grid: 100px 50px / 100px 50px;
     13       width: 100px;
     14       height: 100px;
     15       overflow: auto;
     16    }
     17    .item {
     18       grid-column: 1;
     19       grid-row: 1;
     20       width: 100px;
     21       height: 100px;
     22    }
     23 </style>
     24 <p>The test passes if you see a grey square below and both scrollbars are visible.</p>
     25 <div class="grid"><div class="item"></div></div>