Layout Table | Cell height is not taken into account
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>fixed-cell-height.html</title>
<style>
@page {
size: 210pt 210pt;
margin: 5pt;
}
html, body {
font-size: 5pt;
padding: 0;
margin: 0;
}
table, td, th {
border: 1pt solid black;
border-collapse: collapse;
}
th {
height: 50pt;
vertical-align: bottom;
}
th > div {
border: 1px solid blue;
max-width: 50pt;
text-align: left;
}
th:nth-child(2n) div {
transform: rotate(270deg);
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<th><div>column 1</div></th>
<th><div>column 2</div></th>
<th><div>column 3</div></th>
</tr>
</thead>
<tbody>
<tr>
<td>hello world, foo bar</td>
<td>hello world, foo bar</td>
<td>hello world, foo bar</td>
</tr>
</tbody>
</table>
</body>
</html>