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:
parent
4ed7456486
commit
caa24d0805
3 changed files with 82 additions and 6 deletions
22
Tests/LibWeb/Layout/input/table/align-top-and-bottom.html
Normal file
22
Tests/LibWeb/Layout/input/table/align-top-and-bottom.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue