tor-browser

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

break-between-avoid-002.html (1009B)


      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-break-3/#unforced-breaks">
      4 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      5 <meta name="assert" content="Need to violate break-before:avoid and break-after:avoid if there are no better breakpoints">
      6 <style>
      7  .container {
      8      break-before: avoid;
      9      break-after: avoid;
     10  }
     11  .square {
     12      display: inline-block;
     13      vertical-align: top;
     14      width: 100%;
     15      height: 50px;
     16      background:green;
     17  }
     18 </style>
     19 <p>Test passes if there is a filled green square.</p>
     20 <div style="columns:2; column-fill:auto; column-gap:0; width:100px; height:120px;">
     21  <div class="container">
     22    <div class="square"></div>
     23  </div>
     24  <div class="container">
     25    <div class="square"></div>
     26  </div>
     27  <div class="container">
     28    <div class="square"></div>
     29  </div>
     30  <div class="container">
     31    <div class="square"></div>
     32  </div>
     33 </div>