mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
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:
parent
02a8966b61
commit
34f2cbf202
Notes:
sideshowbarker
2024-07-16 20:31:50 +09:00
Author: https://github.com/awesomekling
Commit: 34f2cbf202
Pull-request: https://github.com/SerenityOS/serenity/pull/24176
9 changed files with 145 additions and 1 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue