#1891 arised some of the problems we have regarding our table layout implementation.
The two problems reproducible by the code in this issue are:
macOS
Table renders as on "Safari" screenshot. I complies with standards, as well as any major web-browser.
Table renders as on "Ladybird" screenshot.
N/A
<!DOCTYPE html>
<html>
<head>
<style>
table {
width: 100%;
border-collapse: collapse;
}
td {
border: 1px solid black;
width: 300px;
height: 300px;
text-align: center;
}
</style>
</head>
<body>
<table>
<tr>
<td style="vertical-align: text-top;">
Text aligned at the top
</td>
<td style="vertical-align: text-bottom;">
Text aligned at the bottom
</td>
<td style="vertical-align: baseline;">
Text aligned at the baseline
</td>
<td>
Normal content for reference
</td>
</tr>
<tr>
<td style="vertical-align: text-top;">
Short text<br>with <br>line breaks
</td>
<td style="vertical-align: text-bottom;">
<div style="height: 50px;">A block element</div>
in the cell
</td>
<td style="vertical-align: baseline;">
Text aligned<br>at the baseline
</td>
<td>
Reference content with normal alignment
</td>
</tr>
</table>
</body>
</html>
N/A
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too