tor-browser

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

multicol-span-all-children-height-008.html (1415B)


      1 <!DOCTYPE html>
      2 <html>
      3  <meta charset="utf-8">
      4  <title>CSS Multi-column Layout Test: Test the borders drawing for a block split by column-span</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="match" href="multicol-span-all-children-height-008-ref.html">
      9  <meta name="assert" content="This test verifies that the borders of block container with an auto block-size, split by column-span, are skipped on the sides adjacent to column-span.">
     10 
     11  <!-- This test is adapted from multicol-span-all-children-height-005. -->
     12 
     13  <style>
     14  article {
     15    column-count: 1;
     16    column-fill: auto;
     17    width: 200px;
     18    background-color: lightgreen;
     19  }
     20  div.container {
     21    height: auto;
     22    border: 20px solid purple;
     23    background-color: pink;
     24  }
     25  div.block {
     26    width: 100px;
     27    height: 100px;
     28    background-color: yellow;
     29  }
     30  div.column-span {
     31    column-span: all;
     32    height: 50px;
     33    background-color: lightblue;
     34  }
     35  </style>
     36 
     37  <article>
     38    <div class="container">
     39      <div class="block">block1</div>
     40      <div class="column-span">column-span1</div>
     41      <div class="block">block2</div>
     42      <div class="column-span">column-span2</div>
     43      <div class="block">block3</div>
     44    </div>
     45  </article>
     46 </html>