tor-browser

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

multicol-nested-016.html (1358B)


      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 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      6 <style>
      7  .ib {
      8    display: inline-block;
      9    width: 500%;
     10    height: 30px;
     11    vertical-align: top;
     12    background: green;
     13  }
     14 </style>
     15 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     16 <div style="columns:2; column-fill:auto; column-gap:0; width:100px; height:100px; orphans:2; widows:2; background:red;">
     17  <div style="contain:size; height:70px; background:green;"></div>
     18  <div style="break-before:avoid; columns:5; column-fill:auto; column-gap:0;">
     19    <div style="background:green;">
     20      <div style="height:60px;"></div>
     21      <!-- These lines should be pushed to a column in the next outer
     22           fragmentainer, or we'd violate orphans and widows settings (which
     23           would otherwise be the only (and unnecessary) violation inside the
     24           inner multicol container). -->
     25      <div class="ib"></div><br>
     26      <div class="ib"></div><br>
     27      <div class="ib"></div><br>
     28      <div style="width:500%; height:10px; background:green;"></div>
     29    </div>
     30  </div>
     31 </div>