mirror of
https://github.com/RGBCube/serenity
synced 2025-10-27 04:12:32 +00:00
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.
14 lines
No EOL
247 B
HTML
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> |