mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
LibWeb: Apply min/max-widths to block container during intrinsic layout
Fixes https://github.com/SerenityOS/serenity/issues/22430
This commit is contained in:
parent
9258d7b98a
commit
b172c29d9a
5 changed files with 116 additions and 2 deletions
8
Tests/LibWeb/Layout/input/table/cell-with-max-width.html
Normal file
8
Tests/LibWeb/Layout/input/table/cell-with-max-width.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!doctype html><style>
|
||||
* { outline: 1px solid black; }
|
||||
div { max-width: 270px; }
|
||||
table { background: pink; }
|
||||
</style><body><table><tr><td><div>
|
||||
hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello
|
||||
hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello
|
||||
<div>
|
Loading…
Add table
Add a link
Reference in a new issue