40 lines
1,011 B
HTML
40 lines
1,011 B
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>
|