1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:17:36 +00:00

LibWeb: Clip cell spans past the end of the table

This occurs on Wikipedia for tournament brackets, for example:
https://en.wikipedia.org/wiki/2022%E2%80%9323_UEFA_Champions_League_knockout_phase
This commit is contained in:
Andi Gallo 2023-06-18 12:27:44 +00:00 committed by Andreas Kling
parent 205f9c75d9
commit 701b170dc0
3 changed files with 96 additions and 0 deletions

View file

@ -0,0 +1,25 @@
<style>
table {
border-collapse: collapse;
}
td {
padding: 10px;
border: 1px solid black;
}
</style>
<table>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>4</td>
<td rowspan="3" colspan="3">6-9</td>
</tr>
<tr>
<td>5</td>
</tr>
</table>