tor-browser

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

flexbox-min-bsize-keywords-horiz-1.html (1117B)


      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  <title>CSS Test: Testing a horizonal flex container with keywords on min-width</title>
      9  <meta charset="utf-8">
     10  <style>
     11    .container {
     12      display: flex;
     13      flex-direction: row;
     14    }
     15    .container > * {
     16      writing-mode: vertical-lr;
     17      border: 1px solid black;
     18      flex-basis: 0;
     19    }
     20    .itemA {
     21      background: purple;
     22      min-width: -moz-max-content;
     23      min-width: max-content;
     24    }
     25    .itemB {
     26      background: teal;
     27      min-width: -moz-min-content;
     28      min-width: min-content;
     29    }
     30    .itemC {
     31      background: blue;
     32      min-width: -moz-fit-content;
     33      min-width: fit-content;
     34    }
     35    .itemD {
     36      background: yellow;
     37      min-width: -moz-available;
     38      min-width: -webkit-fill-available;
     39    }
     40  </style>
     41 </head>
     42 <body>
     43  <div class="container">
     44    <div class="itemA">itemA</div>
     45    <div class="itemB">itemB</div>
     46    <div class="itemC">itemC</div>
     47    <div class="itemD">itemD</div>
     48  </div>
     49 </body>
     50 </html>