[Webkit-unassigned] [Bug 227682] Object-fit:cover and img source with srcset cause rendering issue
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 14 12:21:04 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=227682
--- Comment #8 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
This bug is because shouldApplySizeContainment() is breaking object-fit:
LayoutSize intrinsicSize() const final
{
if (shouldApplySizeContainment(*this))
return LayoutSize();
return m_intrinsicSize;
}
LayoutRect RenderReplaced::replacedContentRect(const LayoutSize& intrinsicSize) const
{
LayoutRect contentRect = contentBoxRect();
if (intrinsicSize.isEmpty())
return contentRect;
Cathie, could you take a look?
--
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/20211014/13cec8dd/attachment-0001.htm>
More information about the webkit-unassigned
mailing list