Changeset 220717 in webkit
- Timestamp:
- Aug 14, 2017 3:00:27 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r220714 r220717 1 2017-08-14 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 The none smooth stroke applied to an SVG shape breaks its hit testing 4 https://bugs.webkit.org/show_bug.cgi?id=175506 5 6 Reviewed by Simon Fraser. 7 8 * svg/stroke/stroke-linejoin-click-expected.html: Added. 9 * svg/stroke/stroke-linejoin-click.html: Added. 10 1 11 2017-08-14 Daniel Bates <dabates@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r220713 r220717 1 2017-08-14 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 The none smooth stroke applied to an SVG shape breaks its hit testing 4 https://bugs.webkit.org/show_bug.cgi?id=175506 5 6 Reviewed by Simon Fraser. 7 8 Clear RenderSVGShape::m_path when calling RenderSVGRect::updateShapeFromElement(). 9 The m_path will be recalculated when RenderSVGShape::updateShapeFromElement() 10 is called from RenderSVGRect::shapeDependentStrokeContains(). 11 12 Test: svg/stroke/stroke-linejoin-click.html 13 14 * rendering/svg/RenderSVGRect.cpp: 15 (WebCore::RenderSVGRect::updateShapeFromElement): 16 * rendering/svg/RenderSVGShape.h: 17 (WebCore::RenderSVGShape::clearPath): 18 1 19 2017-08-14 Adrian Perez de Castro <aperez@igalia.com> 2 20 -
trunk/Source/WebCore/rendering/svg/RenderSVGRect.cpp
r212562 r220717 53 53 m_innerStrokeRect = FloatRect(); 54 54 m_outerStrokeRect = FloatRect(); 55 clearPath(); 55 56 56 57 SVGLengthContext lengthContext(&rectElement()); -
trunk/Source/WebCore/rendering/svg/RenderSVGShape.h
r208668 r220717 64 64 return *m_path; 65 65 } 66 void clearPath() { m_path = nullptr; } 66 67 67 68 protected:
Note: See TracChangeset
for help on using the changeset viewer.