[Webkit-unassigned] [Bug 72036] Setting SVGResize event on outermost svg tag via script fails to work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 17 15:59:04 PDT 2022


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

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #2 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am able to reproduce this bug in Safari 15.5 on macOS 12.4 and also across all other browsers as well. Where, on window resize, there is no 'resize event detected' triggered. **As long as actual results go based on Comment 01**

As confirmed in "Comment 01", it is happening in "Chrome" as well. Also from the URL< I can see that related Chrome bug is still Open and is not fixed as of Chrome Canary 105.

I even tried to look into source code of test case and it has listener on root element with "SVGResize" and also in Chrome bug, the latest test case has slight changed source code and with <script>, the event listener is changed from "SVGResize" to "Resize" but it is still "root" element.

Further, on this MDN - I am not able to find much about "resize" support across browser - https://developer.mozilla.org/en-US/docs/Web/API/SVGElement

I am not sure, which browser has ideal behavior or whether the test case is even valid or not. Whether it should be on VisualViewport? Can someone please confirm and retest it or it is something not implemented yet at all - as a result, it is failing silently? Thanks!

-- 
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/20220617/14aa53f9/attachment-0001.htm>


More information about the webkit-unassigned mailing list