haikuwebkit/LayoutTests/fast/flexbox
Alan Bujtas 9362f4dd6a REGRESSION (r273072): Images do not layout correctly on walmart.com/grocery
https://bugs.webkit.org/show_bug.cgi?id=228656
<rdar://80418083>

Reviewed by Sergio Villar Senin.

Source/WebCore:

Take the min/max values into account when computing the definite size (https://drafts.csswg.org/css-sizing-3/#definite)
for the flex child.

Test: fast/flexbox/flex-with-min-max-height.html

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::computeCrossSizeForChildUsingContainerCrossSize const):

LayoutTests:

* fast/flexbox/flex-with-min-max-height-expected.html: Added.
* fast/flexbox/flex-with-min-max-height.html: Added.


Canonical link: https://commits.webkit.org/240162@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-02 15:38:53 +00:00
..
resources
001.html
002.html
003.html
004.html
005.html
006.html
007.html
008.html
009.html
010.html
011.html
012.html
013.html
014.html
015.html
016.html
017.html
018.html
019.html
020.html
021-vertical-expected.png
021-vertical-expected.txt
021-vertical.html
021.html
022.html
023.html
024.html
025.html
026.html
aspect-ratio-intrinsic-adjust-expected.html REGRESSION (r189567): Elements with aspect ratios not handled correctly inside flexbox. 2016-05-31 18:42:17 +00:00
aspect-ratio-intrinsic-adjust.html
assert-generated-deprecated-flexbox-expected.txt
assert-generated-deprecated-flexbox.html
assert-generated-new-flexbox-expected.txt
assert-generated-new-flexbox.html
block-axis-expected.png
block-axis-expected.txt
block-axis.html
box-ordinal-group-expected.txt
box-ordinal-group.html
box-orient-button-expected.txt
box-orient-button.html
box-size-integer-overflow-expected.txt
box-size-integer-overflow.html
child-flexing-expected.txt
child-flexing.html
clear-overflow-before-scroll-update-expected.txt
clear-overflow-before-scroll-update.html
collapse-anonymous-wrappers-assertion-expected.txt
collapse-anonymous-wrappers-assertion.html
crash-anonymous-box-expected.txt
crash-anonymous-box.html
crash-button-input-autofocus-expected.txt
crash-button-input-autofocus.html
crash-button-keygen-expected.txt
crash-button-keygen.html [Testing] Rename test header commands to match names in WebPreferences*.yaml 2020-10-13 17:16:15 +00:00
crash-button-relayout-expected.txt
crash-button-relayout.html
crash-flexbox-no-layout-child-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
crash-flexbox-no-layout-child.html
crash-resolved-main-size-zero-expected.txt
crash-resolved-main-size-zero.html
crash-when-min-max-content-is-not-computed-expected.txt REGRESSION (r191336): RenderFlexibleBox::adjustChildSizeForMinAndMax crashes in std::optional<>::value() 2018-09-03 03:41:11 +00:00
crash-when-min-max-content-is-not-computed.html
flex-column-vertical-rl-dynamic-child-crash-expected.txt Crash in RenderBox::overrideContainingBlockContentHeight() 2020-11-12 11:25:22 +00:00
flex-column-vertical-rl-dynamic-child-crash.html Crash in RenderBox::overrideContainingBlockContentHeight() 2020-11-12 11:25:22 +00:00
flex-column-with-percent-height-descendants-crash-expected.txt [css-flexbox] Flex item construction may affect sibling flex item height computation 2021-05-13 15:00:12 +00:00
flex-column-with-percent-height-descendants-crash.html [css-flexbox] Flex item construction may affect sibling flex item height computation 2021-05-13 15:00:12 +00:00
flex-column-with-percent-height-descendants-expected.html [css-flexbox] Flex item construction may affect sibling flex item height computation 2021-05-13 15:00:12 +00:00
flex-column-with-percent-height-descendants.html [css-flexbox] Flex item construction may affect sibling flex item height computation 2021-05-13 15:00:12 +00:00
flex-hang-expected.txt
flex-hang.html
flex-with-min-max-height-expected.html REGRESSION (r273072): Images do not layout correctly on walmart.com/grocery 2021-08-02 15:38:53 +00:00
flex-with-min-max-height.html REGRESSION (r273072): Images do not layout correctly on walmart.com/grocery 2021-08-02 15:38:53 +00:00
flex-wrap-when-min-widht-is-set-1-expected.html
flex-wrap-when-min-widht-is-set-1.html
flex-wrap-when-min-widht-is-set-2-expected.html
flex-wrap-when-min-widht-is-set-2.html
flexbox-fail-to-select-same-line-expected.html Can not select whole line when using flexbox 2016-12-06 23:06:42 +00:00
flexbox-fail-to-select-same-line.html
flexing-overflow-scroll-item-expected.txt
flexing-overflow-scroll-item.html
hidpi-simple-line-layout-with-flexbox-and-transition-expected.html
hidpi-simple-line-layout-with-flexbox-and-transition.html
horizontal-box-float-crash-expected.txt
horizontal-box-float-crash.html
image-percent-max-height-expected.html
image-percent-max-height.html
indefinite-width-crash-expected.txt Treat min-intrinsic like *-content 2021-03-15 13:18:25 +00:00
indefinite-width-crash.html Treat min-intrinsic like *-content 2021-03-15 13:18:25 +00:00
inline-children-crash-expected.txt
inline-children-crash.html
intrinsic-min-width-applies-with-fixed-width-expected.txt
intrinsic-min-width-applies-with-fixed-width.html
intrinsic-width-column-flow-crash-expected.txt Treat intrinsic like *-content 2021-06-10 16:41:07 +00:00
intrinsic-width-column-flow-crash.html Treat intrinsic like *-content 2021-06-10 16:41:07 +00:00
intrinsic-width-crash-expected.txt Treat intrinsic like *-content 2021-06-10 16:41:07 +00:00
intrinsic-width-crash.html Treat intrinsic like *-content 2021-06-10 16:41:07 +00:00
layoutHorizontalBox-crash-expected.txt
layoutHorizontalBox-crash.html
line-clamp-crash-expected.txt
line-clamp-crash.html
line-clamp-link-after-ellipsis-expected.txt Restore pre-r118852 behavior for EllipsisBox::nodeAtPoint() 2013-02-09 01:48:09 +00:00
line-clamp-link-after-ellipsis.html
line-clamp-removed-dynamically-expected.html Layout not updated after setting -webkit-line-clamp to none 2012-06-01 14:14:07 +00:00
line-clamp-removed-dynamically.html
line-clamp-with-anchor-content-only-expected.html [Line clamp] Do not apply the special anchor handling when the anchor content is visible after clamping 2020-06-11 03:01:49 +00:00
line-clamp-with-anchor-content-only.html [Line clamp] Do not apply the special anchor handling when the anchor content is visible after clamping 2020-06-11 03:01:49 +00:00
min-intrinsic-width-crash-expected.txt Treat intrinsic like *-content 2021-06-10 16:41:07 +00:00
min-intrinsic-width-crash.html Treat intrinsic like *-content 2021-06-10 16:41:07 +00:00
missing-repaint-when-flext-item-never-had-layout-expected.txt
missing-repaint-when-flext-item-never-had-layout.html
order-iterator-crash-expected.txt
order-iterator-crash.html
overhanging-floats-not-removed-crash-expected.txt
overhanging-floats-not-removed-crash.html
overhanging-floats-removed-expected.png
overhanging-floats-removed-expected.txt
overhanging-floats-removed.html
preserve-layout-overflow-expected.txt Layout overflow is computed incorrectly inside flexbox (breaks sticky positioning) 2020-12-22 16:09:03 +00:00
preserve-layout-overflow.html Layout overflow is computed incorrectly inside flexbox (breaks sticky positioning) 2020-12-22 16:09:03 +00:00
repaint-issue-when-flex-item-appears-expected.txt [Flexbox] FlexItem stays invisible after initial layout 2021-06-09 14:47:55 +00:00
repaint-issue-when-flex-item-appears.html [Flexbox] FlexItem stays invisible after initial layout 2021-06-09 14:47:55 +00:00
repaint-scrollbar-expected.txt
repaint-scrollbar.html
unresolved-height-percentage-crash-expected.txt
unresolved-height-percentage-crash.html
vertical-box-form-controls-expected.txt
vertical-box-form-controls.html