[Webkit-unassigned] [Bug 221110] SVG size is much larger than should be (Safari TP �� 109) regression?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 3 18:47:54 PST 2021


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

--- Comment #6 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
The behavior of RenderFlexibleBox::childCrossSizeIsDefinite() has changed when the child is a RenderImage and the length is auto. Instead of returning false we are now returning true. This make RenderFlexibleBox::useChildAspectRatio() returns true also which makes RenderFlexibleBox::computeInnerFlexBaseSizeForChild() call adjustChildSizeForAspectRatioCrossAxisMinAndMax(). This function returns the size of the RenderFlexibleBox and ignores the childIntrinsicSize which is the size of the image.

-- 
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/20210204/5dcfa092/attachment.htm>


More information about the webkit-unassigned mailing list