mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
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.
This commit is contained in:
parent
37067cf3ca
commit
d33b99dd24
3 changed files with 81 additions and 2 deletions
|
@ -0,0 +1,14 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue