[Webkit-unassigned] [Bug 249643] [CSS Shapes] Clamp reference box to zero for the reference box calculation in the MarginBox case
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat May 6 18:38:18 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=249643
--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
This works:
void ShapeOutsideInfo::invalidateForSizeChangeIfNeeded()
{
auto newSize = computeLogicalBoxSize(m_renderer, m_renderer.containingBlock()->isHorizontalWritingMode());
+++++ newSize.clampNegativeToZero();
if (m_cachedShapeLogicalSize == newSize)
return;
--
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/20230507/fb01dece/attachment.htm>
More information about the webkit-unassigned
mailing list