Bug 210088

Summary: [css-flexbox] dynamic recalculation of height not correct on nested column flexboxes with min-height property
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: svillar
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.chromium.org/p/chromium/issues/detail?id=596743
https://bugs.webkit.org/show_bug.cgi?id=210089

Description Carlos Alberto Lopez Perez 2020-04-06 18:24:30 PDT
The following WPT test fails on WebKit but passes on Chrome and firefox:

https://wpt.live/css/css-flexbox/flex-minimum-height-flex-items-010.html

The issue here seems to be that WebKit doesn't recalculate the height of the inner box when the outer height changes and there are nested column flexboxes, one with a min-height property

Check here also a simplified version of that test here: https://codepen.io/cl0p3z/pen/poJMdPj

For a related issue fixed on Chrome check https://crbug.com/596743 and https://crrev.com/c/1283482
Comment 1 Sergio Villar Senin 2020-08-11 07:40:37 PDT
Although this was reported before I'm marking this as duplicate because we already have a patch in the other one.

*** This bug has been marked as a duplicate of bug 215369 ***