tor-browser

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

multicol-span-all-rule-001.html (1614B)


      1 <!DOCTYPE html>
      2 <html>
      3  <meta charset="utf-8">
      4  <title>CSS Multi-column Layout Test: Test the column rule's block-size</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/#column-span">
      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-span-all-rule-001-ref.html">
     11  <meta name="assert" content="This test verifies that the column-rule after the last column-span is extended to the content block-end edge of the multicol container.">
     12 
     13  <style>
     14  article {
     15    column-count: 2;
     16    column-rule: 6px solid;
     17    width: 400px;
     18    height: 500px;
     19    background-color: lightgreen;
     20    border: 2em solid purple;
     21    padding: 2em;
     22  }
     23  div.block {
     24    width: 100px;
     25    height: 200px;
     26  }
     27  div.column-span {
     28    column-span: all;
     29    height: 50px;
     30    background-color: lightblue;
     31  }
     32  </style>
     33 
     34  <article>
     35    <!-- Each block spreads its height evenly into two columns, and
     36         each column contains 100px height. -->
     37    <div class="block">block1</div>
     38    <div class="column-span">column-span1</div>
     39    <div class="block">block2</div>
     40    <div class="column-span">column-span2</div>
     41    <!-- The column rule after column-span2 should extend to the content edge
     42         of the multicol container as if block3 has "height: 400px;"  -->
     43    <div class="block">block3</div>
     44  </article>
     45 </html>