mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:47:45 +00:00
LibWeb: Set table width to GRIDMAX if calculated value is max-content
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.
This commit is contained in:
parent
387ab57eb1
commit
4676b288a2
3 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
|||
<!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>
|
Loading…
Add table
Add a link
Reference in a new issue