mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
LibWeb: Rerun rows sizings if grid auto height is less than min-height
If the first pass of rows sizing results in the container's automatic height being less than the specified min-height, we need to run a second pass using the updated available space.
This commit is contained in:
parent
b7b57523cc
commit
2def1de4be
3 changed files with 52 additions and 0 deletions
10
Tests/LibWeb/Layout/input/grid/container-min-height.html
Normal file
10
Tests/LibWeb/Layout/input/grid/container-min-height.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html><style type="text/css">
|
||||
* {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: grid;
|
||||
min-height: 200px;
|
||||
}
|
||||
</style><div class="container"><div>Making Commerce Better for Everyone</div><div>Making Commerce Better for Everyone</div>
|
Loading…
Add table
Add a link
Reference in a new issue