tor-browser

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

multicol-breaking-005.html (1661B)


      1 <!DOCTYPE HTML>
      2 <title>CSS Test: breaking of a multicolumn</title>
      3 <meta charset="utf-8">
      4 <link rel="author" title="L. David Baron" href="https://dbaron.org/">
      5 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      6 <link rel="author" title="Mozilla" href="https://mozilla.org/">
      7 <link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
      8 <link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
      9 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2309">
     10 <link rel="match" href="multicol-breaking-005-ref.html">
     11 <style>
     12 
     13 .outer {
     14  height: 200px;
     15  width: 800px;
     16  column-fill: balance;
     17  column-count: 3;
     18  column-rule: 4px solid blue;
     19  column-gap: 16px;
     20  background: rgba(0, 0, 255, 0.3);
     21 }
     22 
     23 .inner {
     24  column-count: 2;
     25  column-fill: balance;
     26  column-rule: 2px solid fuchsia;
     27  column-gap: 16px;
     28  background: rgba(255, 0, 255, 0.3);
     29  font: 16px/1.25 sans-serif;
     30 }
     31 
     32 </style>
     33 
     34 <!-- This test is similar to multicol-breaking-002.html,
     35     but both outer and inner columns are balancing. The outer multi-column is
     36     made explicitly taller than the inner columns' optimal balance height. -->
     37 <div class="outer">
     38  <div class="inner" style="height: 300px">
     39    AAAAA<br>
     40    BBBBB<br>
     41    CCCCC<br>
     42    DDDDD<br>
     43    EEEEE<br>
     44    FFFFF<br>
     45    GGGGG<br>
     46    HHHHH<br>
     47    IIIII<br>
     48    JJJJJ<br>
     49    KKKKK<br>
     50    LLLLL<br>
     51    MMMMM<br>
     52    NNNNN<br>
     53    OOOOO<br>
     54    PPPPP<br>
     55    QQQQQ<br>
     56    RRRRR<br>
     57    SSSSS<br>
     58    TTTTT<br>
     59    UUUUU<br>
     60    VVVVV<br>
     61    WWWWW<br>
     62    XXXXX<br>
     63    YYYYY<br>
     64    ZZZZZ<br>
     65    aaaaa<br>
     66    bbbbb<br>
     67    ccccc<br>
     68    ddddd
     69  </div>
     70 </div>