mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibWeb: Fix condition to determine auto tracks while sizing in GFC
This solves the issue when track with "fixed" min sizing function were treated like "auto" during sizing.
This commit is contained in:
parent
2626136749
commit
d0ce61bf13
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ void GridFormattingContext::resolve_intrinsic_track_sizes(GridDimension const di
|
|||
}
|
||||
track.base_size = base_size;
|
||||
}
|
||||
} else {
|
||||
} else if (track.min_track_sizing_function.is_auto()) {
|
||||
// Otherwise, set the track’s base size to the maximum of its items’ minimum contributions, floored
|
||||
// at zero. The minimum contribution of an item is the smallest outer size it can have.
|
||||
// Specifically, if the item’s computed preferred size behaves as auto or depends on the size of its
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue