Bug 32198

Summary: SVG W3C test filters-example-01-b fails
Product: WebKit Reporter: Dirk Schulze <krit>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, jeffschiller, zimmermann
Priority: P2    
Version: 525.x (Safari 3.1)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 68469, 26389    

Description Dirk Schulze 2009-12-06 12:18:25 PST
filters-example-01-b fails. The half of the stroke is not drawn. Maybe a bug in calculation objectBoundingBox of the target?
Comment 1 Dirk Schulze 2009-12-18 04:29:57 PST
Ok, we use objectBoundingBox for the filter rect calculation. But we also use the objectBoundingBox for the size of the source graphic. This is wrong, when have a stroke.
We need the size with the stroke rect (stroke-width, lineJoin, lineCap). Something like repaintRectInLocalCoordinates() but without regards to the filter rect or marker rect.
Eric, do you have an idea how to make it without bigger refactoring?
Comment 2 Dirk Schulze 2009-12-18 05:22:23 PST
...sorry, of course we need marker rect as well. So just repaintRectInLocalCoordinates() without filter rect.
Comment 3 Dirk Schulze 2009-12-30 01:13:53 PST
fix landed in r52647. Closing bug.