DescriptionFix ellipse hit testing in the non-circle case
RenderSVGEllipse::shapeDependentStrokeContains() was incorrectly
considering the outer and inner offset curves of the ellipse's stroke
(the outer and inner boundary curves) to be the ellipses formed by
increasing/decreasing the radii by half the stroke width; however, the
offset curves are only ellipses when the ellipse is a circle. This would
cause problems where shapeDependentStrokeContains() would incorrectly
return false for points that actually are in the stroke of the ellipse.
Except in the case of continuous-stroke circles, we now always fall back
to the graphics library for the stroke hit test result.
BUG=393143
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189109
Patch Set 1 #Patch Set 2 : Simplify #
Total comments: 1
Patch Set 3 : Lazily create the path #
Messages
Total messages: 19 (2 generated)
|