1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-18 14:31:00 +00:00
serenity/Tests/LibWeb/Layout/expected
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
..
block-and-inline LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-values LibWeb/CSS: Resolve percentages in NumericCalculationNode 2024-01-08 15:57:42 +00:00
flex LibWeb: Treat flex item cross axis max-size as "none" in more cases 2024-01-15 12:55:47 +01:00
grid LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
misc Tests/LibWeb: Remove the "scroll.html" layout test for now 2023-11-06 09:42:41 +01:00
svg LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
table LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
abspos-box-with-replaced-element.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-flex-container-with-auto-height.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-flexbox-with-auto-height.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-image-with-min-height-constraint.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
abspos-not-replaced-multiple-auto-variants.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
abspos-with-percentage-insets.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
acid1.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
anonymous-wrappers-continue-to-inherit-style-after-change.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
aspect-ratio-auto-and-ratio.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
aspect-ratio-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
aspect-ratio-ratio.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
automatic-height-of-non-replaced-abspos-element-must-not-be-negative.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
automatic-width-of-non-replaced-abspos-element-must-not-be-negative.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
blank.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
blockify-layout-internal-box-without-crashing.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
box-sizing-border-box-for-definite-sizes-without-layout.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
br-should-not-generate-pseudo-before.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
calc-font-size-with-percentages.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
calc-negate-length.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
calc-with-fr.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-all-unset.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-calc-border-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-dir-selector.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-ex-unit.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-font-size-calc.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-font-size-math.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-host-selector-gets-parsed.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-import-rule.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-imported-sheet-with-media-rule.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-invalid-psuedo-compound-selector.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-line-height-percentage-inheritance.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-logical-inset-properties.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-namespace-rule-matches.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-namespace-rule-no-match.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-namespace-tag-name-selector.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-namespace-universal-selector.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-pseudo-element-blockification.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-pseudo-element-should-not-be-affected-by-inline-style.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-pseudo-element-should-not-be-affected-by-presentational-hints.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-quotes-nesting.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-revert.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-snap-a-length-as-a-border-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-text-transform-math-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-var-in-calc-block.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
details-closed.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
details-open.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
display-contents-with-in-children.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
display-table-inline-children.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
div_align.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
div_align_nested.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
dont-crash-on-relayout-that-rewraps-text.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
element-use-pseudo-element.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-abspos-item-with-preceding-whitespace.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-constained-wrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-constrained-nowrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-height-constrained-width-constrained.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-height-constrained.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-height-unconstrained.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-item-with-auto-height-and-max-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-item-with-auto-height-depending-auto-width-with-max-width-constraint.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-item-with-auto-height-depending-on-auto-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-container-constrained-nowrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-container-constrained-wrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-container-width-constrained.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-frozen-items-should-be-respected.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-grow-0-column.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-grow-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-grow-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-item-auto-height-with-wrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-item-on-row-with-intrinsic-aspect-ratio.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-item-vertical-padding-relative-to-flex-container-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-item-with-cyclic-percentage-height.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.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-margin-auto-justify-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-row.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-shrink-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-shrink-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-shrink-3.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
floating-non-replaced-element-percentage-padding-against-indefinite-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
floating-replaced-element-percentage-padding-against-indefinite-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
font-fractional-size.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
font-size-legacy.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
font-size-zero.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
font-with-many-normal-values.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
getComputedStyle-on-unconnected-element.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
height-min-max-fit-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
height-of-absolute-position-box-with-padding.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
html-encoding-detection-crash.txt LibWeb: Fix crash in HTML encoding detection when handling non-ASCII 2023-12-30 13:49:50 +01:00
image-display-block-margin-auto.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
image-with-multiple-constraint-violations.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
img-with-box-sizing-border-box-and-padding.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
img-with-percentage-max-width-and-indefinite-containing-block-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
img-with-percentage-max-width-and-min-content-containing-block-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
incomplete-input-no-newline-at-eof-should-not-crash.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
inline-block-treat-100pct-width-as-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
inline-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
input-element-with-display-inline.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
input-text-node-invalidation-on-value-change.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
inset-shorthand-property.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
lh-1.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
lh-2.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
line-height-calc-number.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
link-sheet.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
media-query-resolution.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
negative-max-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
non-floating-non-replaced-element-percentage-padding-against-indefinite-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
nowrap-and-no-line-break-opportunity.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
ordered-list.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
overflow-x-hidden-with-border-radius.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
percentage-max-height-when-containing-block-has-indefinite-height.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
picture-source-media-query.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
place-content-shorthand-property.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
position-absolute-from-edges.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
position-absolute-ignores-padding-of-position-relative-floating-parent.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
position-absolute-top-left.txt LibWeb: Skip out-of-flow boxes when wrapping inlines in anonymous block 2023-12-11 13:19:12 +01:00
position-empty-pseudo-elements.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
pre.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
pseudo-element-with-custom-properties-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
pseudo-element-with-custom-properties.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
replaced-box-with-vertical-margins.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
replaced-within-max-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
resolve-cyclic-percentage-against-zero-when-available-size-is-min-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
resolve-height-of-containing-block.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
set-margin-of-floating-box.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
shadow-tree-removed-from-dom-receives-event.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
space-is-soft-line-break-opportunity.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
style-invalidation-line-height-propagation.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
svg-preserve-aspect-ratio.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
svg-text-with-viewbox.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
svg-transforms-and-viewboxes.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
text-align-justify-with-forced-break.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
text-align-overflow.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
text-indent.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
textarea-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
textnode-width-bitmap-font.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
tolerate-css-percentage-overshoot.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
transform-calc-length-values.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
utf-16-be-xhtml-file-should-decode-correctly.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
vertical-padding-relative-to-cb-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
viewport-overflow-propagation-1.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
viewport-overflow-propagation-2.txt LibWeb: Bring html element height calculation closer to the spec 2023-08-31 21:43:58 +02:00