Cannot surpress line break after `thead`
Example HTML:
<html>
<head></head>
<style>
@media print {
@page {
size: A4;
}
thead {
break-after: avoid;
}
}
</style>
</head>
<body>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<p>foo</p>
<table>
<thead>
<tr>
<th>a</th>
<th>b</th>
<th>c</th>
</tr>
</thead>
<tbody>
<tr>
<td><p>a</p></td>
<td><p>b</p></td>
<td><p>c</p></td>
</tr>
<tr>
<td><p>a</p></td>
<td><p>b</p></td>
<td><p>c</p></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
Rendered to pdf using the pagedjs-cli.