Summary: | Setting SVGResize event on outermost svg tag via script fails to work | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joel Webber <jgw> | ||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | ahmad.saleem792, ap, eric, rniwa, rwlbuis, sabouhallawa, zalan, zimmermann | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://code.google.com/p/chromium/issues/detail?id=69375 | ||||||
Attachments: |
|
Description
Joel Webber
2011-11-10 11:08:42 PST
Created attachment 114529 [details]
Repro case
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! All browsers match the behavior here so it's unclear that we want to do this. Closing as invalid for now. |