Bug 32198
Summary: | SVG W3C test filters-example-01-b fails | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dirk Schulze <krit> |
Component: | SVG | Assignee: | 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 |
Dirk Schulze
filters-example-01-b fails. The half of the stroke is not drawn. Maybe a bug in calculation objectBoundingBox of the target?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dirk Schulze
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?
Dirk Schulze
...sorry, of course we need marker rect as well. So just repaintRectInLocalCoordinates() without filter rect.
Dirk Schulze
fix landed in r52647. Closing bug.