[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 05:04:37 PDT 2023


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

--- Comment #5 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Ahmad Saleem from comment #4)
> 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.

PR https://github.com/WebKit/WebKit/pull/14145

-- 
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/81bd39b5/attachment.htm>


More information about the webkit-unassigned mailing list