Chromium Code Reviews| Index: Source/core/rendering/svg/RenderSVGRoot.cpp |
| diff --git a/Source/core/rendering/svg/RenderSVGRoot.cpp b/Source/core/rendering/svg/RenderSVGRoot.cpp |
| old mode 100644 |
| new mode 100755 |
| index bf09427ab301fbc2fb1500fd7e650c7544af74d7..023078abd64ac471539b833eaa2a48fdb23717b1 |
| --- a/Source/core/rendering/svg/RenderSVGRoot.cpp |
| +++ b/Source/core/rendering/svg/RenderSVGRoot.cpp |
| @@ -398,7 +398,7 @@ bool RenderSVGRoot::nodeAtPoint(const HitTestRequest& request, HitTestResult& re |
| // Only test SVG content if the point is in our content box. |
| // FIXME: This should be an intersection when rect-based hit tests are supported by nodeAtFloatPoint. |
| - if (contentBoxRect().contains(pointInBorderBox)) { |
| + if (!request.touchAction() && contentBoxRect().contains(pointInBorderBox)) { |
|
Rick Byers
2014/01/17 16:12:46
RenderSVGRoot is a RenderBox so whatever we decide
gnana
2014/01/21 14:00:16
commented reply below
|
| FloatPoint localPoint = localToParentTransform().inverse().mapPoint(FloatPoint(pointInParent)); |
| for (RenderObject* child = lastChild(); child; child = child->previousSibling()) { |