[Webkit-unassigned] [Bug 227697] New: SVG in img tag and positionned with flex randomly fail to resize when src is changed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 6 02:29:07 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=227697

            Bug ID: 227697
           Summary: SVG in img tag and positionned with flex randomly fail
                    to resize when src is changed
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Intel)
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ottuk at posteo.net
                CC: zimmermann at kde.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210706/9f3b9862/attachment.htm>


More information about the webkit-unassigned mailing list