1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00

LibWeb: Implement fixed table layout

This commit is contained in:
Andi Gallo 2023-08-07 01:33:37 +00:00 committed by Sam Atkins
parent 97512d0c76
commit ada05ab4e4
13 changed files with 716 additions and 22 deletions

View file

@ -0,0 +1,27 @@
<style>
table {
width: 600px;
table-layout: fixed;
border-collapse: collapse;
border: 1px solid black;
}
td {
border: 1px solid black;
}
</style>
<table>
<tr>
<td style="width: 50px">cell</td>
<td style="width: 50px">cell</td>
<td style="width: 100px">A table cell</td>
<td style="width: 300px">A table cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
<td>A table cell</td>
<td>A table cell</td>
</tr>
</table>