tor-browser

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

collapsed-border-remove-row-group.html (1011B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>collapsed border recalculation as a result of removal</title>
      4 <link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
      5 <link rel="author" href="https://mozilla.org" title="Mozilla">
      6 <link rel="help" href="https://drafts.csswg.org/css-tables/#border-collapse-property">
      7 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1907289">
      8 <link rel="help" href="https://bugs.webkit.org/show_bug.cgi?id=291728">
      9 <link rel="match" href="collapsed-border-remove-row-group-ref.html">
     10 <style>
     11  table {
     12    border-collapse: collapse;
     13  }
     14  td {
     15    border-bottom: 10px solid;
     16  }
     17 </style>
     18 <table>
     19  <thead>
     20    <tr>
     21      <td>Something</td>
     22    </tr>
     23  </thead>
     24  <thead id="removeMe">
     25    <tr>
     26      <td style="border: 0">Something</td>
     27    </tr>
     28  </thead>
     29  <tbody>
     30    <tr>
     31      <td>Body</td>
     32    </tr>
     33  </tbody>
     34 </table>
     35 <script>
     36  onload = function () {
     37    removeMe.getBoundingClientRect();
     38    removeMe.remove();
     39  };
     40 </script>