Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-tables/collapsed-border-remove-row-group.html - WPT Dashboard Interop Dashboard
<!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="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>