tor-browser

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

multicol-zero-height-003.html (1401B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Multi-column Test: Test a block element with box-decoration-break:clone in a zero height multi-column container</title>
      4 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      5 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      6 <link rel="help" href="https://drafts.csswg.org/css-break/#breaking-rules">
      7 <link rel="help" href="https://drafts.csswg.org/css-break/#break-decoration">
      8 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1693616">
      9 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1754598">
     10 <link rel="match" href="multicol-zero-height-003-ref.html">
     11 <meta name="assert" content="This test verifies that a block element with box-decoration-break:clone can make progress when fragmenting in a zero height multi-column container. Also, it should expend 1px of its content-box per fragment, and therefore should only need to create 2 fragments.">
     12 
     13 <style>
     14 .multicol {
     15  column-width: 100px;
     16  inline-size: 300px;
     17  block-size: 0;
     18 }
     19 
     20 .child {
     21  color: green;
     22  inline-size: 100px;
     23  block-size: 2px;
     24  border: 5px solid green;
     25  box-decoration-break: clone;
     26 }
     27 </style>
     28 
     29 <!-- WARNING: This test hangs Firefox version < 99 without the fix in bug 1754598. -->
     30 
     31 <p>There shouldn't be a green strip in the third column.</p>
     32 <div class="multicol">
     33  <div class="child"></div>
     34 </div>