[Webkit-unassigned] [Bug 232650] Verify borderRect is Renderable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 2 08:39:55 PST 2021


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

zalan <zalan at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zalan at apple.com

--- Comment #11 from zalan <zalan at apple.com> ---
Comment on attachment 445616
  --> https://bugs.webkit.org/attachment.cgi?id=445616
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=445616&action=review

> Source/WebCore/platform/graphics/RoundedRect.cpp:175
> +    return m_radii.topLeft().width()     >= 0 && m_radii.topLeft().height()     >= 0
> +        && m_radii.bottomLeft().width()  >= 0 && m_radii.bottomLeft().height()  >= 0
> +        && m_radii.topRight().width()    >= 0 && m_radii.topRight().height()    >= 0
> +        && m_radii.bottomRight().width() >= 0 && m_radii.bottomRight().height() >= 0
> +        && m_radii.topLeft().width()    + m_radii.topRight().width()     <= m_rect.width()
> +        && m_radii.bottomLeft().width() + m_radii.bottomRight().width()  <= m_rect.width()
> +        && m_radii.topLeft().height()   + m_radii.bottomLeft().height()  <= m_rect.height()
> +        && m_radii.topRight().height()  + m_radii.bottomRight().height() <= m_rect.height();

some weird spacing going on here.

-- 
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/20211202/2e466497/attachment.htm>


More information about the webkit-unassigned mailing list