| Index: Source/core/rendering/svg/RenderSVGImage.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGImage.cpp b/Source/core/rendering/svg/RenderSVGImage.cpp
|
| index 02f164325217f51ae70af7ef75d737570b09a1dd..290a36ccf3b81f20e53853d09b293956092acde5 100644
|
| --- a/Source/core/rendering/svg/RenderSVGImage.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGImage.cpp
|
| @@ -188,9 +188,8 @@ bool RenderSVGImage::nodeAtFloatPoint(const HitTestRequest& request, HitTestResu
|
| PointerEventsHitRules hitRules(PointerEventsHitRules::SVG_IMAGE_HITTESTING, request, style()->pointerEvents());
|
| bool isVisible = (style()->visibility() == VISIBLE);
|
| if (isVisible || !hitRules.requireVisible) {
|
| - FloatPoint localPoint = localToParentTransform().inverse().mapPoint(pointInParent);
|
| -
|
| - if (!SVGRenderSupport::pointInClippingArea(this, localPoint))
|
| + FloatPoint localPoint;
|
| + if (!SVGRenderSupport::transformToUserSpaceAndCheckClipping(this, localToParentTransform(), pointInParent, localPoint))
|
| return false;
|
|
|
| if (hitRules.canHitFill || hitRules.canHitBoundingBox) {
|
|
|