tor-browser

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

flexbox-single-row-4.html (1591B)


      1 <!DOCTYPE html>
      2 <!-- Any copyright is dedicated to the Public Domain.
      3     http://creativecommons.org/publicdomain/zero/1.0/ -->
      4 <html>
      5  <meta charset="utf-8">
      6  <title>CSS Flexbox Test: Fragmentation of block-size:auto single-line row flex container in a zero block-size multicol</title>
      7  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
      8  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      9  <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
     10  <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
     11  <link rel="match" href="flexbox-single-row-4-ref.html">
     12  <meta name="assert" content="This test verifies fragmentation of flex containers can make progress in a zero block-size multicol.">
     13 
     14  <style>
     15  .multicol {
     16    column-count: 2;
     17    block-size: 0;
     18    border: 1px solid black;
     19    margin-block-end: 30px; /* Just to separate each sub-testcase visually. */
     20  }
     21 
     22  .flexContainer {
     23    display: flex;
     24    flex-wrap: nowrap;
     25    flex-direction: row;
     26    padding: 1px;
     27  }
     28 
     29  .boxDecorationBreak {
     30    padding: 5px;
     31    box-decoration-break: clone;
     32  }
     33 
     34  </style>
     35 
     36  <body>
     37    <!-- Basic one with padding on the flex container.-->
     38    <div class="multicol">
     39      <div class="flexContainer">
     40        <div>abc</div><div>def</div>
     41      </div>
     42    </div>
     43 
     44    <!-- Larger padding and box-decoration-break:clone on the flex container.-->
     45    <div class="multicol">
     46      <div class="flexContainer boxDecorationBreak">
     47        <div>abc</div><div>def</div>
     48      </div>
     49    </div>
     50  </body>
     51 </html>