Consider the following test case: https://codepen.io/cl0p3z/pen/BaoojeE 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.
Created attachment 406718 [details] Patch
Committed r265858: <https://trac.webkit.org/changeset/265858>
<rdar://problem/67405575>