| Index: Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGEllipse.cpp b/Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| index 66ac961ce5bc8885d869b849c4e6d79ccfb7e394..3d8f8c0cc1a3d359c2b5d29dfafd7c1d8e1779b1 100644
|
| --- a/Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| @@ -49,6 +49,7 @@ void RenderSVGEllipse::updateShapeFromElement()
|
| // to avoid using garbage.
|
| m_fillBoundingBox = FloatRect();
|
| m_strokeBoundingBox = FloatRect();
|
| + m_hitTestStrokeBoundingBox = FloatRect();
|
| m_center = FloatPoint();
|
| m_radii = FloatSize();
|
| m_usePathFallback = false;
|
| @@ -70,9 +71,9 @@ void RenderSVGEllipse::updateShapeFromElement()
|
| }
|
|
|
| m_fillBoundingBox = FloatRect(m_center.x() - m_radii.width(), m_center.y() - m_radii.height(), 2 * m_radii.width(), 2 * m_radii.height());
|
| - m_strokeBoundingBox = m_fillBoundingBox;
|
| - if (style()->svgStyle().hasStroke())
|
| - m_strokeBoundingBox.inflate(strokeWidth() / 2);
|
| + m_hitTestStrokeBoundingBox = m_fillBoundingBox;
|
| + m_hitTestStrokeBoundingBox.inflate(strokeWidth() / 2);
|
| + m_strokeBoundingBox = style()->svgStyle().hasStroke() ? m_hitTestStrokeBoundingBox : m_fillBoundingBox;
|
| }
|
|
|
| void RenderSVGEllipse::calculateRadiiAndCenter()
|
|
|