[Webkit-unassigned] [Bug 198609] WebKit doesn't resize SVG element in response to viewBox change (with height specified and width unspecified)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat May 20 04:51:43 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=198609
--- Comment #4 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
It did fix by adding below:
setNeedsLayoutIfNeededAfterIntrinsicSizeChange();
^ After below line of code:
https://github.com/WebKit/WebKit/blob/e17c2153ab908a5821a2b72ee9fe7856b98aac12/Source/WebCore/rendering/svg/LegacyRenderSVGRoot.cpp#L179
^ It will fix in Legacy SVG Engine.
_____________________
For LBSE, it is here:
https://github.com/WebKit/WebKit/blob/e17c2153ab908a5821a2b72ee9fe7856b98aac12/Source/WebCore/rendering/svg/RenderSVGRoot.cpp#L194
_____________
It fixed this testcase from Comment 0 and also WPT testcase.
--
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/20230520/8b867063/attachment-0001.htm>
More information about the webkit-unassigned
mailing list