ladybird/Tests/LibWeb/Layout
Aliaksandr Kalenik d3d67857b2 LibWeb: Use containing block width to measure fit-content width in GFC
When the grid layout gets to
`resolve_items_box_metrics(GridDimension::Column)`, we've already
determined the width of each column. However, the widths of the
individual grid items themselves haven't been set. Rather than using
`get_available_space_for_item()`, which returns an indefinite size if
an item's width/height hasn't been set, we should use the already
known track width as the available size to calculate the fit-content
width.
2023-08-27 05:11:55 +02:00
..
expected LibWeb: Use containing block width to measure fit-content width in GFC 2023-08-27 05:11:55 +02:00
input LibWeb: Use containing block width to measure fit-content width in GFC 2023-08-27 05:11:55 +02:00