1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:58:11 +00:00
serenity/Tests/LibWeb/Layout/input/flex
Andreas Kling 1ebae7a779 LibWeb: Stop changing width of block-level flex containers during layout
If the parent BFC can come up with a nice stretch-fit width for the flex
container, it will have already done so *before* even entering flex
layout. There's no need to do it again, midway through the flex layout
algorithm.

This wasn't just unnecessary, but we were also doing it incorrectly and
not taking margins into account when calculating the amount of available
space for stretch-fit. This led to oversized flex containers in the
presence of negative margins.

Fixes #18614
2023-05-08 15:56:00 +02:00
..
cross-size-of-item-with-box-sizing-border-box-and-nonzero-padding.html LibWeb: Fix bug where box-sizing: border-box made flex items too small 2023-04-27 13:57:52 +02:00
flex-container-with-max-width-and-negative-margin-in-same-axis.html LibWeb: Stop changing width of block-level flex containers during layout 2023-05-08 15:56:00 +02:00
flex-gap-between-items-and-lines.html LibWeb: Honor column-gap and row-gap CSS properties in flex layout 2023-04-14 13:22:07 +02:00
multi-line-column-container-with-automatic-height.html LibWeb: Fix multi-line flex column layouts with auto height on container 2023-04-16 21:45:15 +02:00
percentage-flex-basis-with-indefinite-flex-container-size.html LibWeb: Treat unresolvable percentage flex-basis values as 'content' 2023-04-18 10:06:02 +02:00
specified-size-suggestion-with-box-sizing-border-box.html LibWeb: Honor box-sizing in flex item "specified size suggestion" 2023-04-17 18:22:53 +02:00
stretch-alignment-with-cross-gap.html LibWeb: Honor gap between flex lines when using align-content: stretch 2023-04-16 20:52:32 +02:00