| Index: third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| index 781e32918360807579ff2d6bcb6b29f73c9c15b7..fceffdfd42f60992b4c009c0ef6e49f2ee05ca4d 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| @@ -226,17 +226,15 @@ bool InlineBox::nodeAtPoint(HitTestResult& result, const HitTestLocation& locati
|
| if (parent()->lineLayoutItem().hasFlippedBlocksWritingMode()) // Faster than calling containingBlock().
|
| childPoint = layoutObject().containingBlock()->flipForWritingModeForChild(&toLayoutBox(layoutObject()), childPoint);
|
|
|
| - if (lineLayoutItem().hitTest(result, locationInContainer, childPoint))
|
| - return true;
|
| -
|
| if (lineLayoutItem().style()->hasBorderRadius()) {
|
| LayoutRect borderRect = logicalFrameRect();
|
| borderRect.moveBy(accumulatedOffset);
|
| FloatRoundedRect border = lineLayoutItem().style()->getRoundedBorderFor(borderRect);
|
| - if (locationInContainer.intersects(border))
|
| - return true;
|
| + if (!locationInContainer.intersects(border))
|
| + return false;
|
| }
|
| - return false;
|
| +
|
| + return lineLayoutItem().hitTest(result, locationInContainer, childPoint);
|
| }
|
|
|
| const RootInlineBox& InlineBox::root() const
|
|
|