NEW 227697
SVG in img tag and positioned with flex randomly fail to resize when src is changed
https://bugs.webkit.org/show_bug.cgi?id=227697
Summary SVG in img tag and positioned with flex randomly fail to resize when src is c...
loic
Reported 2021-07-06 02:29:07 PDT
SVG used inside an img tag and positioned with flexbox are randomly failing to resize when the image is changed with a bigger one. In the end, the image is cut to the initial size. Not sure, if it's a real bug or if it's more related to flexbox. Test case: https://codepen.io/vkngndrbtpxd/pen/jOBpoRo Workaround is to use inline-block positioning: https://codepen.io/imagoiq/pen/LYWqELj
Attachments
Radar WebKit Bug Importer
Comment 1 2021-07-13 02:30:17 PDT
Note You need to log in before you can comment on or make changes to this bug.