tor-browser

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

multiline-column-max-height.html (1195B)


      1 <!DOCTYPE html>
      2 <title>CSS Flexbox: wrapping column flexbox with max-height don't overflow.</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-flow-property">
      4 <link rel="match" href="reference/multiline-column-max-height-ref.html">
      5 <meta name="assert" content="This test ensures that the flex line length is limited to max-height in a wrapping column flexbox."/>
      6 <style>
      7 .flex {
      8  display: flex;
      9  flex-flow: column wrap;
     10  max-height: 200px;
     11  background: blue;
     12  color: blue;
     13 }
     14 
     15 .item {
     16  flex: 0 0 auto;
     17  line-height: 20px;
     18 }
     19 </style>
     20 There should only be a blue box below, and the word "FAIL" should not be seen.
     21 <div class="flex">
     22  <span class="item">FAIL</span>
     23  <span class="item">FAIL</span>
     24  <span class="item">FAIL</span>
     25  <span class="item">FAIL</span>
     26  <span class="item">FAIL</span>
     27  <span class="item">FAIL</span>
     28  <span class="item">FAIL</span>
     29  <span class="item">FAIL</span>
     30  <span class="item">FAIL</span>
     31  <span class="item">FAIL</span>
     32  <span class="item">FAIL</span>
     33  <span class="item">FAIL</span>
     34  <span class="item">FAIL</span>
     35  <span class="item">FAIL</span>
     36  <span class="item">FAIL</span>
     37  <span class="item">FAIL</span>
     38 </div>