1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-16 02:41:00 +00:00
serenity/Tests/LibWeb/Layout/input/flex
Andreas Kling 3372a691da LibWeb: Don't let items flex to infinite size in column layout
When sizing under a max-content constraint, we allow flex lines to have
an infinite amount of "remaining space", but we shouldn't let infinity
leak into the geometry of items. So treat it as zero in arithmetic.

This fixes an issue where inline SVGs with natural aspect ratio (from
viewBox) but no natural width or height could get an infinite size as
flex items.
2023-07-06 09:25:48 +02:00
..
abspos-flex-child-static-position-with-align-items.html LibWeb: Improve align-items in abspos static position of flex child 2023-07-04 16:25:23 +02:00
abspos-flex-child-static-position-with-justify-content.html LibWeb: Support justify-content: space-evenly in flex layouts 2023-07-05 19:03:20 +02:00
align-keywords-start-and-end.html LibWeb: Support start and end alignment values in flex layout 2023-06-06 21:02:04 +02:00
align-self-end-crash.html LibWeb: Don't assert when flex-item has align-self: end 2023-06-20 13:26:41 +02:00
automatic-minimum-size-with-explicit-flex-basis-and-flex-container-with-max-content-main-size.html LibWeb: Fix a case of incorrect flex container max-content main size 2023-06-08 13:54:11 +02:00
calc-flex-basis.html LibWeb: Support flex-basis: calc(...) 2023-05-17 07:40:17 +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-column-item-with-intrinsic-aspect-ratio-and-percentage-max-width.html LibWeb: Fix percentage min/max sizes on flex items with intrinsic ratio 2023-05-10 18:46:04 +02:00
flex-column-item-with-natural-aspect-ratio-and-automatic-cross-size.html LibWeb: Resolve flex item auto cross sizes through aspect ratio 2023-07-05 19:03:20 +02:00
flex-container-intrinsic-cross-size-with-max-content-main-size.html LibWeb: Allow infinitely long flex lines when sizing under max-content 2023-06-01 15:11:48 +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
flex-item-with-calc-main-size-and-layout-dependent-containing-block-size.html LibWeb: Support flex items with calc() main size containing percentages 2023-06-02 17:17:45 +02:00
flex-item-with-intrinsic-aspect-ratio-and-max-height.html LibWeb: Adjust flex item main size through aspect ratio if needed 2023-05-10 13:03:05 +02:00
flex-row-reverse-with-centered-content.html LibWeb: Initial offset in reverse flex layout moved to opposite side 2023-05-09 10:32:09 +02:00
flex-shorthand-flex-basis-zero-percent.html LibWeb: Set flex-basis to 0% when omitted from flex shorthand 2023-06-08 10:05:56 +02:00
inline-flex-with-main-axis-margin-on-flex-container.html LibWeb: Allow IFC to size inline-flex boxes midway through flex layout 2023-06-19 18:51:00 +02:00
intrinsic-height-of-flex-container-with-svg-item-that-only-has-natural-aspect-ratio.html LibWeb: Don't let items flex to infinite size in column layout 2023-07-06 09:25:48 +02:00
justify-content-1.html LibWeb: Support justify-content: space-evenly in flex layouts 2023-07-05 19:03:20 +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
relpos-flex-item.html LibWeb: Resolve used insets for flex items 2023-07-04 06:43:53 +02:00
reverse-flex-layout-with-space-between-and-space-around.html LibWeb: Support reverse flex layout with space-around/space-between 2023-05-28 18:02:00 +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