tor-browser

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

multicol-span-all-dynamic-remove-005.html (1196B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <meta charset="utf-8">
      4  <title>CSS Multi-column Layout Test: Remove a tall block (spliting across the three columns) with spanner siblings</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-dynamic-remove-005-ref.html">
      9  <meta name="assert" content="This test checks removing a non-'column-span' element should be rendered correctly.">
     10 
     11  <script>
     12  function runTest() {
     13    document.body.offsetHeight;
     14 
     15    document.getElementById("block").remove();
     16 
     17    document.documentElement.removeAttribute("class");
     18  }
     19  </script>
     20 
     21  <style>
     22  #column {
     23    column-count: 3;
     24    column-rule: 6px solid;
     25    width: 400px;
     26    outline: 1px solid black;
     27  }
     28  #block {
     29    height: 400px;
     30  }
     31  h3 {
     32    column-span: all;
     33    outline: 1px solid blue;
     34  }
     35  </style>
     36 
     37  <body onload="runTest();">
     38    <article id="column">
     39      <h3>spanner1</h3>
     40      <div id="block">block</div>
     41      <h3>spanner2</h3>
     42    </article>
     43  </body>
     44 </html>