tor-browser

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

multicol-span-all-children-height-001.html (990B)


      1 <!DOCTYPE html>
      2 <html>
      3  <meta charset="utf-8">
      4  <title>CSS Multi-column Layout Test: Test a multi-column container with percentage height children</title>
      5  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      6  <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
      7  <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
      8  <link rel="match" href="multicol-span-all-children-height-001-ref.html">
      9  <meta name="assert" content="This test checks the percentage height children under multicol container is rendered correctly.">
     10 
     11  <style>
     12  article {
     13    column-count: 2;
     14    width: 400px;
     15    height: 200px;
     16    outline: 1px solid black;
     17  }
     18  div {
     19    height: 50%; /* Spread evenly into two colums, each 25%. */
     20  }
     21  div.spanner {
     22    column-span: all;
     23    outline: 1px solid blue;
     24    height: 50%;
     25  }
     26  </style>
     27 
     28  <article>
     29    <div>block1</div>
     30    <div class="spanner">spanner</div>
     31    <div>block2</div>
     32  </article>
     33 </html>