1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00
serenity/Tests/LibWeb/Layout/expected/flex
Andreas Kling 72dd37438d LibWeb: Treat flex item cross axis max-size as "none" in more cases
There are a bunch of situations where we need to treat cross axis
max-size properties as "none", notably percentage values when the
reference containing block size is an intrinsic sizing constraint.

This fixes an issue where flex items with definite width would get
shrunk to 0px by "max-width: 100%" in case the item itself is an
SVG with no natural width or height.

For consistency, we now use the should_treat_max_width/height_as_none
helpers throughout FFC.

This makes the search/account/cart icons show up in the top right
on https://twinings.co.uk :^)
2024-01-15 12:55:47 +01:00
..
abspos-flex-child-static-position-with-align-items.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-flex-child-static-position-with-justify-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-flex-child-static-position-with-padding-on-flex-container.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-flex-child-with-auto-height.txt LibWeb: Handle case where abspos flex child position depends on height 2023-09-03 15:44:47 +02:00
align-items-normal.txt LibWeb: Make align-items: normal behave like stretch on flex items 2023-08-20 19:37:50 +02:00
align-keywords-start-and-end.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
align-self-end-crash.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
automatic-minimum-size-with-explicit-flex-basis-and-flex-container-with-max-content-main-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
box-baseline-with-inline-flex-empty-child.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
br-element-does-not-get-blockified-by-itself.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
calc-flex-basis.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
columns-33-percent-width.txt LibWeb: Forbid using CSS::Length as reference value in resolved() 2024-01-07 09:03:57 +01:00
cross-size-of-item-with-box-sizing-border-box-and-nonzero-padding.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-container-with-max-width-max-content.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-column-item-with-intrinsic-aspect-ratio-and-percentage-max-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-column-item-with-natural-aspect-ratio-and-automatic-cross-size.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
flex-column-item-with-percentage-max-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-container-intrinsic-cross-size-with-max-content-main-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-container-with-max-width-and-negative-margin-in-same-axis.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-gap-between-items-and-lines.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-item-min-width-fit-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-item-with-calc-main-size-and-layout-dependent-containing-block-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-item-with-intrinsic-aspect-ratio-and-max-height.txt LibWeb: Let parent formatting context determine size of flex containers 2024-01-10 16:28:12 +01:00
flex-row-reverse-with-centered-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-shorthand-flex-basis-zero-percent.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
inf-available-space-with-auto-margins.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
inline-flex-with-main-axis-margin-on-flex-container.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
intrinsic-height-of-column-items-with-different-kinds-of-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
intrinsic-height-of-flex-container-with-svg-item-that-only-has-natural-aspect-ratio.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
justify-content-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
justify-content-space-between-single-item.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
justify-content-with-margin-auto-child.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
list-container-display-contents.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
multi-line-column-container-with-automatic-height.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
percentage-flex-basis-with-indefinite-flex-container-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
relpos-flex-item.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
reverse-flex-layout-with-space-between-and-space-around.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
reverse-with-justify-content-normal.txt LibWeb: Fix reverse flex layout with justify-content: normal 2024-01-08 14:42:19 +01:00
specified-size-suggestion-with-box-sizing-border-box.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
stretch-alignment-with-cross-gap.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
svg-flex-item-with-percentage-max-size.txt LibWeb: Treat flex item cross axis max-size as "none" in more cases 2024-01-15 12:55:47 +01:00