LibWeb: Honor intrinsic constraints on available space in table widths

When a table's containing block provides min-content or max-content
available space, we now size the table's width accordingly.
This commit is contained in:
Andreas Kling 2024-05-01 10:31:26 +02:00
commit 34f2cbf202
Notes: sideshowbarker 2024-07-16 20:31:50 +09:00
9 changed files with 145 additions and 1 deletions

View file

@ -0,0 +1,8 @@
<!doctype html><style>
* { outline: 1px solid black; }
body { width: max-content; }
div { display: table; }
</style><body><div>
well hello friends
well hello friends
well hello friends