1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00
serenity/Tests/LibWeb/Layout/input/table/table-formation-with-rowspan-in-the-middle.html
Andi Gallo 205f9c75d9 LibWeb: Fix empty slot finding in table formation algorithm
The algorithm which finds the first free slot must run for every cell,
not for every row.
2023-06-19 13:19:32 +02:00

31 lines
486 B
HTML

<style>
table {
border: 1px solid black;
border-collapse: collapse;
border-spacing: 0px;
}
td {
padding: 10px;
border: 1px solid black;
}
</style>
<table>
<tr>
<td>0</td>
<td rowspan="2">A</td>
<td rowspan="3">X</td>
</tr>
<tr>
<td>1</td>
</tr>
<tr>
<td>2</td>
<td rowspan="2">B</td>
</tr>
<tr>
<td>3</td>
<td>C</td>
</tr>
</table>