| Index: Source/core/layout/line/InlineFlowBox.cpp
|
| diff --git a/Source/core/layout/line/InlineFlowBox.cpp b/Source/core/layout/line/InlineFlowBox.cpp
|
| index 7b7e327557bc7a448cc40f8e2f65a039fa650e31..855435def38ef470e5c7da7c0ad49a95e51bc5bc 100644
|
| --- a/Source/core/layout/line/InlineFlowBox.cpp
|
| +++ b/Source/core/layout/line/InlineFlowBox.cpp
|
| @@ -1012,6 +1012,14 @@ bool InlineFlowBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& re
|
| culledParent = culledParent->parent();
|
| }
|
|
|
| + if (layoutObject().style()->hasBorderRadius()) {
|
| + LayoutRect borderRect = logicalFrameRect();
|
| + borderRect.moveBy(accumulatedOffset);
|
| + FloatRoundedRect border = layoutObject().style()->getRoundedBorderFor(borderRect, includeLogicalLeftEdge(), includeLogicalRightEdge());
|
| + if (!locationInContainer.intersects(border))
|
| + return false;
|
| + }
|
| +
|
| // Now check ourselves. Pixel snap hit testing.
|
| LayoutRect frameRect(roundedFrameRect());
|
| LayoutUnit minX = frameRect.x();
|
|
|