tor-browser

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

column-auto-repeat-010.html (1380B)


      1 <!DOCTYPE html>
      2 <title>Auto repeat tracks and percentage min sizes with percentage track sizes</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      4 <meta name="assert"
      5  content="This test checks that auto repeat tracks can use percentage track
      6  size when only a min size is available to compute the number of tracks.">
      7 <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
      8 <style>
      9 .grid-lanes {
     10    position: relative;
     11    display: inline-grid-lanes;
     12    grid-template-columns: repeat(auto-fill, 25%);
     13    min-width: 50%;
     14    height: 200px;
     15    float: left;
     16    background: pink;
     17 }
     18 .wrapper {
     19  width: 600px;
     20 }
     21 .item {
     22  background: lime;
     23  width: 100%;
     24 }
     25 </style>
     26 <script src="/resources/testharness.js"></script>
     27 <script src="/resources/testharnessreport.js"></script>
     28 <script src="/resources/check-layout-th.js"></script>
     29 <body onload="checkLayout('.grid-lanes');">
     30 
     31  <div id="log"></div>
     32 
     33  <div class="wrapper">
     34    <div class="grid-lanes" data-expected-width="300" data-expected-height="200">
     35      <div class="item" data-expected-width="75">Cell 1</div>
     36      <div class="item" data-expected-width="75">Cell 2</div>
     37      <div class="item" data-expected-width="75">Cell 3</div>
     38      <div class="item" data-expected-width="75">Cell 4</div>
     39      <div class="item" data-expected-width="75">Cell 5</div>
     40    </div>
     41  </div>
     42 
     43 </body>