tor-browser

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

block-max-height-004.html (982B)


      1 <!DOCTYPE html>
      2 <html>
      3  <title>CSS Test: max-height block fragmentation</title>
      4  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      5  <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      6  <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=">
      7  <link rel="help" href="https://drafts.csswg.org/css-break">
      8  <link rel="match" href="block-max-height-004-ref.html">
      9 
     10  <style>
     11  .multicol {
     12    height: 30px;
     13    width: 100px;
     14    column-width: 30px;
     15    column-fill: auto;
     16    border: 2px solid orange;
     17  }
     18  .block {
     19    display: block;
     20    background: teal;
     21    border: 5px solid black;
     22    border-top-width: 0;
     23    max-height: 40px;
     24  }
     25  .child {
     26    display: block;
     27    width: 50%;
     28    height: 80px;
     29  }
     30  img.child { background: salmon; }
     31  div.child { background: purple; }
     32  </style>
     33 
     34  <div class="multicol">
     35    <main class="block">
     36      <img src="" class="child"><div class="child"></div>
     37    </main>
     38  </div>
     39 </html>