wpt / css / css-tables / collapsed-border-remove-row-group.html

Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-tables/collapsed-border-remove-row-group.html

<!doctype html>
<meta charset="utf-8">
<title>collapsed border recalculation as a result of removal</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-tables/#border-collapse-property">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1907289">
<link rel="help" href="https://bugs.webkit.org/show_bug.cgi?id=291728">
<link rel="match" href="collapsed-border-remove-row-group-ref.html">
<style>
  table {
    border-collapse: collapse;
  }
  td {
    border-bottom: 10px solid;
  }
</style>
<table>
  <thead>
    <tr>
      <td>Something</td>
    </tr>
  </thead>
  <thead id="removeMe">
    <tr>
      <td style="border: 0">Something</td>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Body</td>
    </tr>
  </tbody>
</table>
<script>
  onload = function () {
    removeMe.getBoundingClientRect();
    removeMe.remove();
  };
</script>

/css/css-tables/collapsed-border-remove-row-group-ref.html

<!doctype html>
<meta charset="utf-8">
<title>CSS test reference</title>
<style>
  table {
    border-collapse: collapse;
  }

  td {
    border-bottom: 10px solid;
  }
</style>
<table>
  <thead>
    <tr>
      <td>Something</td>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Body</td>
    </tr>
  </tbody>
</table>