Created attachment 308389 [details] Screen capture of the bug - svg not resized on vertical window resize Overview: When a SVG is placed in a container and the SVG's size is percentage based, it should update its size when the container changes. It fails to do so when the resize is triggered by a vertical size change of the browser window. It works ok when horizontal window size changes. Steps to Reproduce: 1. Open demo link: http://misc.basta.bg/webkit-svg-bug/ (contains a circle) 2. Resize window by its height ONLY Expected result: The circle should resize/realign to fit the window Actual Result: The circle doesn't resize/realign. Tested on the latest webkit nightly: Version 10.1 (12603.1.30.0.34, r215857) Additional Information: Different scenarios when it is working OK (bug does not occur): - When you resize window by width - Make the SVG absolute positioned - If you change the container size with JS/CSS (not vertical window resize) Demo code loaded in this pen for easy testing: https://codepen.io/anon/pen/MmJqZy I'm also attaching demo of the behavior.
Sorry, wrong codepen link, correct is this one: https://codepen.io/anon/pen/YVNRNy
<rdar://problem/91310482>
This does not reproduce for me on latest macOS macOS 12.4 beta (21F5048e) testing with https://codepen.io/anon/pen/YVNRNy.