Summary: | RenderSVGContainer does not mark itself for repaint after setting viewBox, slice or align | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | SVG | Assignee: | Rob Buis <rwlbuis> |
Status: | RESOLVED FIXED | ||
Severity: | Blocker | CC: | zimmermann |
Priority: | P4 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Description
Eric Seidel (no email)
2006-12-21 05:03:53 PST
Rob fixed the viewBox case. Others are trivial to fix, too. *** Bug 12181 has been marked as a duplicate of this bug. *** This is fixed nowadays. Changing ie. slice is only possible through JS, either by setting preserveAspectRatio attribute or by using SVG DOM directly, both cases cause a svgAttributeChanged(preserveAspectRatioAttr) call to be fired on the individual SVG*Element classes, causing them to call setNeedsLayout(true) on their renderer. It also works for resources and instances of elements, so it's really fixed today :-) Closing bug. |