Bug 210475

Summary: [css-flexbox] min-height:auto not updated after an image loads when the image has a specified height and width.
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: CSSAssignee: Sergio Villar Senin <svillar>
Severity: Normal CC: changseok, dino, eric.carlson, esprehn+autocc, ews-watchlist, glenn, hi, jfernandez, joepeck, kondapallykalyan, pdr, svillar, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.chromium.org/p/chromium/issues/detail?id=1042329
Description Flags
Patch jfernandez: review+

Description Carlos Alberto Lopez Perez 2020-04-13 21:34:56 PDT
Consider the following test case:


The tests fails on WebKit as it is, but it will pass if you remove the style="width: 100px; height: 100px;" from the <img> element.

This seems to be caused by a similar issue to this one fixed on Chrome: https://crbug.com/1042329

This its tested by WPT test: https://wpt.live/css/css-flexbox/image-items-flake-001.html

This test pass both on Firefox on Chrome.
Comment 1 Sergio Villar Senin 2020-08-17 08:48:26 PDT
Created attachment 406718 [details]
Comment 2 Sergio Villar Senin 2020-08-19 08:45:04 PDT
Committed r265858: <https://trac.webkit.org/changeset/265858>
Comment 3 Radar WebKit Bug Importer 2020-08-19 08:46:18 PDT