Bug 210475 - [css-flexbox] min-height:auto not updated after an image loads when the image has a specified height and width.
Summary: [css-flexbox] min-height:auto not updated after an image loads when the image...
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sergio Villar Senin
Keywords: InRadar
Depends on:
Reported: 2020-04-13 21:34 PDT by Carlos Alberto Lopez Perez
Modified: 2020-08-19 08:46 PDT (History)
14 users (show)

See Also:

Patch (4.52 KB, patch)
2020-08-17 08:48 PDT, Sergio Villar Senin
jfernandez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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