tor-browser

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

flexbox-min-width-auto-004-ref.html (1133B)


      1 <!DOCTYPE html>
      2 <!--
      3     Any copyright is dedicated to the Public Domain.
      4     http://creativecommons.org/publicdomain/zero/1.0/
      5 -->
      6 <html>
      7  <head>
      8    <meta charset="utf-8">
      9    <title>CSS Reftest Reference</title>
     10    <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
     11    <style>
     12      .item {
     13        /* Flex items have purple border: */
     14        border: 2px dotted purple;
     15        margin-bottom: 2px; /* (Just for spacing things out, visually) */
     16      }
     17 
     18      .small { width: 26px; }
     19      .big   { width: 80px; }
     20 
     21      .item > * {
     22        /* Flex items' contents are gray & fixed-size: */
     23        background: gray;
     24        height: 40px;
     25        width: 80px;
     26      }
     27 
     28      .yvisible { overflow-y: visible; }
     29      .yhidden  { overflow-y: hidden;  }
     30      .yscroll  { overflow-y: scroll;  }
     31      .yauto    { overflow-y: auto;    }
     32    </style>
     33  </head>
     34  <body>
     35    <div class="item big   yvisible"><div></div></div>
     36    <div class="item small yhidden"><div></div></div>
     37    <div class="item small yscroll"><div></div></div>
     38    <div class="item small yauto"><div></div></div>
     39  </body>
     40 </html>