[Webkit-unassigned] [Bug 249555] HitTest for RootInlineBox/InlineFlowBox should take care of border-radius.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 20 13:27:48 PST 2022


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

--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
if (renderer().style()->hasBorderRadius()) {
LayoutRect borderRect = logicalFrameRect()
borderRect.moveBy(accumulatedOffset)
FloatRoundedRect border = renderer.style()->getRoundedBorderFor(borderRect, includeLogicalLeftEdge(), includeLogicalRightEdge());
(!locationInContainer.intersects(border))
return false;
}

^ I think it will work, will try and let's see. Might need some help.

-- 
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/20221220/c6d30e7e/attachment.htm>


More information about the webkit-unassigned mailing list