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

LibWeb: Implement table rowspan

Adjust computing the table height and positioning of cells to account
for the rowspan property.

Fixes #18952.
This commit is contained in:
Andi Gallo 2023-05-18 03:55:39 +00:00 committed by Andreas Kling
parent 6cb9d755d9
commit e6221117a5
4 changed files with 178 additions and 2 deletions

View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<title>Table with rowspan</title>
</head>
<body>
<table border="1">
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
<tr>
<td rowspan="2">Row 1</td>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
<tr>
<td>Cell 3</td>
<td>Cell 4</td>
</tr>
<tr>
<td>Row 2</td>
<td>Cell 5</td>
<td>Cell 6</td>
</tr>
</table>
</body>
</html>