tor-browser

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

vert-block-size-small-or-larger-than-container-with-min-or-max-content-1-ref.html (1866B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>
      5    CSS Reference Case: Different values of block sizing properties in vertical wm
      6  </title>
      7  <meta charset="utf-8">
      8  <link rel="author" title="Boris Chiou" href="mailto:boris.chiou@gmail.com">
      9  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
     10  <meta name="flags" content="ahem">
     11  <style>
     12    html,body {
     13      margin: 0;
     14    }
     15 
     16    .container {
     17      width: 200px;
     18      height: 120px;
     19      border-color: blue;
     20      border: 2px solid blue;
     21      writing-mode: vertical-lr;
     22    }
     23 
     24    .container > * {
     25      border: 2px solid lime;
     26      font-size: 15px;
     27 
     28      font-family: Ahem;
     29      font-size: 10px;
     30      line-height: 15px;
     31    }
     32  </style>
     33 </head>
     34 <body>
     35  <div style="display: inline-block;">
     36    <div class="container">
     37      <div>width: min-content<br>on this box.</div>
     38      <div>width: max-content<br>on this box.</div>
     39    </div>
     40 
     41    <div class="container">
     42      <div class="too-small">min-width: min-content<br>on this box.</div>
     43      <div class="too-small">min-width: max-content<br>on this box.</div>
     44    </div>
     45 
     46    <div class="container">
     47      <div class="too-big">max-width: min-content<br>on this box.</div>
     48      <div class="too-big">max-width: max-content<br>on this box.</div>
     49    </div>
     50  </div>
     51 
     52  <div style="display: inline-block;">
     53    <div class="container">
     54      <div>block: min-content<br>on this box.</div>
     55      <div>block: max-content<br>on this box.</div>
     56    </div>
     57 
     58    <div class="container">
     59      <div class="too-small">min-block: min-content<br>on this box.</div>
     60      <div class="too-small">min-block: max-content<br>on this box.</div>
     61    </div>
     62 
     63    <div class="container">
     64      <div class="too-big">max-block: min-content<br>on this box.</div>
     65      <div class="too-big">max-block: max-content<br>on this box.</div>
     66    </div>
     67  </div>
     68 </body>
     69 </html>