1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-27 04:12:32 +00:00
serenity/Tests/LibWeb/Layout/input/cell-relative-to-specified-table-width.html
Andi Gallo d33b99dd24 LibWeb: Check whether table box width is auto when resolving cell width
Computing the table width algorithm bifurcates based on whether
table-root width is auto. We only adjust the used table width based on
cell percentage widths on the auto branch, thus the same check is needed
when we initialize cell widths.
2023-06-29 05:37:34 +02:00

14 lines
No EOL
247 B
HTML

<table style="width: 100%;text-align: center">
<tbody>
<tr>
<th style="width: 39%">A</th>
<th style="width: 22%">B</th>
<th style="width: 39%">C D</th>
</tr>
<tr>
<td>E</td>
<td>F</td>
<td>G</td>
</tr>
</tbody>
</table>