1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:47:45 +00:00

LibWeb: Implement top and bottom vertical-align for table cells

This commit is contained in:
Andi Gallo 2023-06-22 02:20:41 +00:00 committed by Andreas Kling
parent 4ed7456486
commit caa24d0805
3 changed files with 82 additions and 6 deletions

View file

@ -0,0 +1,22 @@
<style>
table {
border: 1px solid black;
border-collapse: collapse;
}
td {
border: 1px solid black;
padding: 15px;
}
</style>
<table>
<tr>
<td rowspan="2" style="vertical-align: top;">Top</td>
<td rowspan="2" style="vertical-align: bottom;">Bottom</td>
<td>A</td>
</tr>
<tr>
<td>B</td>
</tr>
</table>