tor-browser

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

widows-orphans-006.html (900B)


      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/#widows-orphans">
      4 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1153517">
      5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      6 <style>
      7  #mc > div { display:inline-block; width:100%; height:20px; }
      8  #mc > div.red { background:red; }
      9 </style>
     10 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     11 <div id="mc" style="overflow:hidden; columns:1; column-fill:auto; width:100px; height:100px; orphans:1; widows:1; line-height:0; background:green;">
     12  <div></div>
     13  <div class="red"></div>
     14  <div class="red"></div>
     15  <div class="red"></div>
     16  <div class="red"></div>
     17  <div class="red"></div>
     18 </div>
     19 <script>
     20  document.body.offsetTop,
     21  mc.style.widows = 5;
     22 </script>