tor-browser

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

column-height-006.html (1722B)


      1 <!DOCTYPE html>
      2 <title>column-height, column-wrap, spanner</title>
      3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      4 <link rel="help" href="https://drafts.csswg.org/css-multicol-2/#ch">
      5 <link rel="help" href="https://drafts.csswg.org/css-multicol-2/#cwr">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      7 <style>
      8  .row_gap_filler {
      9    position: absolute;
     10    width: 100px;
     11    height: 5px;
     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="position:relative; width:100px; height:100px; background:red;">
     17  <div style="columns:2; column-fill:auto; column-height:5px; column-wrap:wrap; gap:5px 0;">
     18    <div style="background:green;">
     19      <div style="height:20px;"></div>
     20      <div style="column-span:all; height:5px; background:green;"></div>
     21      <div style="height:10px;"></div>
     22      <div style="column-span:all; height:5px; background:green;"></div>
     23      <div style="height:20px;"></div>
     24      <!-- This spanner takes up almost two rows. -->
     25      <div style="column-span:all; height:12px; background:green;"></div>
     26      <div style="height:16px;"></div>
     27    </div>
     28  </div>
     29  <div class="row_gap_filler" style="top:5px;"></div>
     30  <div class="row_gap_filler" style="top:15px;"></div>
     31  <div class="row_gap_filler" style="top:25px;"></div>
     32  <div class="row_gap_filler" style="top:35px;"></div>
     33  <div class="row_gap_filler" style="top:45px;"></div>
     34  <div class="row_gap_filler" style="top:55px;"></div>
     35  <div class="row_gap_filler" style="top:65px;"></div>
     36  <div class="row_gap_filler" style="top:85px;"></div>
     37  <div class="row_gap_filler" style="top:95px;"></div>
     38 </div>