tor-browser

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

multicol-span-all-dynamic-remove-001.html (1122B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <meta charset="utf-8">
      4  <title>CSS Multi-column Layout Test: Remove the spanner as the first child</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-001-ref.html">
      9  <meta name="assert" content="This test checks removing a 'column-span' element should be rendered correctly.">
     10 
     11  <script>
     12  function runTest() {
     13    document.body.offsetHeight;
     14 
     15    document.getElementById("spanner").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  h3 {
     29    column-span: all;
     30    outline: 1px solid blue;
     31  }
     32  </style>
     33 
     34  <body onload="runTest();">
     35    <article id="column">
     36      <h3 id="spanner">spanner</h3>
     37      <div>block1</div>
     38      <div>block2</div>
     39    </article>
     40  </body>
     41 </html>