tor-browser

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

multicol-rule-nested-balancing-002.html (1370B)


      1 <!DOCTYPE html>
      2 <html>
      3  <meta charset="utf-8">
      4  <title>CSS Multi-column Layout Test: Test the column rules' block-size with nested balancing multicol container</title>
      5  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      6  <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      7  <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#cf">
      8  <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-gaps-and-rules">
      9  <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2309">
     10  <link rel="match" href="multicol-rule-nested-balancing-002-ref.html">
     11  <meta name="assert" content="This test verifies that the column-rules are extended to the content block-end edges of their corresponding inner and outer multicol container, where the inner container has height: auto.">
     12 
     13  <style>
     14  .outer {
     15    column-count: 2;
     16    column-rule: 6px solid black;
     17    width: 400px;
     18    height: 250px;
     19  }
     20  .inner {
     21    column-count: 2;
     22    column-rule: 3px solid gray;
     23    height: auto;
     24  }
     25  .outer-block {
     26    background-color: lightgreen;
     27    height: 200px;
     28  }
     29  .inner-block {
     30    background-color: lightblue;
     31    height: 400px;
     32  }
     33  </style>
     34 
     35  <article class="outer">
     36    <div class="outer-block"></div>
     37    <article class="inner">
     38      <div class="inner-block"></div>
     39    </article>
     40  </article>
     41 </html>