| Index: Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| index f2afa1e653e223a1d4b6de47c9f3ef96c5880919..5608f9919c082317fef68160a9f8f82d978efb77 100644
|
| --- a/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| +++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| @@ -738,7 +738,8 @@ bool SVGInlineTextBox::nodeAtPoint(const HitTestRequest& request, HitTestResult&
|
| PointerEventsHitRules hitRules(PointerEventsHitRules::SVG_TEXT_HITTESTING, request, renderer()->style()->pointerEvents());
|
| bool isVisible = renderer()->style()->visibility() == VISIBLE;
|
| if (isVisible || !hitRules.requireVisible) {
|
| - if ((hitRules.canHitStroke && (renderer()->style()->svgStyle()->hasStroke() || !hitRules.requireStroke))
|
| + if (hitRules.canHitBoundingBox
|
| + || (hitRules.canHitStroke && (renderer()->style()->svgStyle()->hasStroke() || !hitRules.requireStroke))
|
| || (hitRules.canHitFill && (renderer()->style()->svgStyle()->hasFill() || !hitRules.requireFill))) {
|
| FloatPoint boxOrigin(x(), y());
|
| boxOrigin.moveBy(accumulatedOffset);
|
|
|