tor-browser

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

break-between-avoid-004.html (992B)


      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="Violate orphans/widows requirements rather than break-before:avoid and break-after:avoid">
      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; orphans:2; widows:2;">
     21  <div class="container">
     22    <div class="square"></div>
     23  </div>
     24  <div class="container">
     25    <div class="square"></div>
     26    <div class="square"></div>
     27  </div>
     28  <div class="container">
     29    <div class="square"></div>
     30  </div>
     31 </div>