[Webkit-unassigned] [Bug 170834] background-size with 2nd value is 'auto' and the image has no intrinsic size and no intrinsic ratio incorrectly rendered
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Dec 1 19:28:40 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=170834
--- Comment #9 from Karl Dubost <karlcow at apple.com> ---
https://searchfox.org/wubkat/rev/d45649fa32a499702c30474e94bd6843c4c67849/Source/WebCore/rendering/RenderBoxModelObject.cpp#787-789
// A generated image without a fixed size, will always return the container size as intrinsic size.
if (!image->imageHasNaturalDimensions())
return LayoutSize(positioningAreaSize.width(), positioningAreaSize.height());
Probably should be testing for SVGElement and intrisic sizing too.
https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGSVGElement.cpp#639
--
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/20241202/dd44ca43/attachment.htm>
More information about the webkit-unassigned
mailing list