mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 21:35:06 +00:00

If the width of the table container is specified as max-content, then it seems sensible to resolve it as the sum of the maximum widths of the columns.
7 lines
No EOL
232 B
HTML
7 lines
No EOL
232 B
HTML
<!DOCTYPE html><style type="text/css">
|
|
.table {
|
|
width: max-content;
|
|
background-color: magenta;
|
|
border: 10px solid gold;
|
|
}
|
|
</style><table class="table"><tr style="height: 100px"><td style="width: 100px"></td></tr></table> |