Index: Source/core/rendering/svg/RenderSVGText.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGText.cpp b/Source/core/rendering/svg/RenderSVGText.cpp |
index 23d7ecb23fa5fc0e3e94e018a8fce3e331da01dd..1a8cc11e0d637a78f294ee0b17ab847f5d0532bd 100644 |
--- a/Source/core/rendering/svg/RenderSVGText.cpp |
+++ b/Source/core/rendering/svg/RenderSVGText.cpp |
@@ -429,10 +429,10 @@ bool RenderSVGText::nodeAtFloatPoint(const HitTestRequest& request, HitTestResul |
if ((hitRules.canHitBoundingBox && !objectBoundingBox().isEmpty()) |
|| (hitRules.canHitStroke && (style()->svgStyle().hasStroke() || !hitRules.requireStroke)) |
|| (hitRules.canHitFill && (style()->svgStyle().hasFill() || !hitRules.requireFill))) { |
- FloatPoint localPoint = localToParentTransform().inverse().mapPoint(pointInParent); |
- |
- if (!SVGRenderSupport::pointInClippingArea(this, localPoint)) |
+ FloatPoint localPoint; |
+ if (!SVGRenderSupport::transformToUserSpaceAndCheckClipping(this, localToParentTransform(), pointInParent, localPoint)) |
return false; |
+ |
if (hitRules.canHitBoundingBox && !objectBoundingBox().contains(localPoint)) |
return false; |