tor-browser

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

multicol-nested-019.html (1224B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      3 <link rel="help" href="https://www.w3.org/TR/css-multicol-1/#the-multi-column-model">
      4 <link rel="help" href="https://www.w3.org/TR/css-break-3/#unforced-breaks">
      5 <meta name="assert" content="Prefer ignoring the orphans request inside the inner multicol over ignoring the break-before:avoid and earlier orphans requests, as specified in https://www.w3.org/TR/css-break-3/#unforced-breaks">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      7 <style>
      8  .mc {
      9    columns: 2;
     10    column-gap: 0;
     11    column-fill: auto;
     12  }
     13  .ib {
     14    display: inline-block;
     15    vertical-align: top;
     16    width: 100%;
     17    height: 25px;
     18    background: green;
     19  }
     20 </style>
     21 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     22 <div class="mc" style="width:100px; height:100px; line-height:25px; orphans:3; widows:3; background:red;">
     23  <div class="ib"></div><br>
     24  <div class="ib"></div><br>
     25  <div class="ib"></div><br>
     26  <div class="mc" style="break-before:avoid;">
     27    <div class="ib"></div><br>
     28    <div class="ib"></div><br>
     29  </div>
     30  <div style="height:100px; background:green;"></div>
     31 </div>