Bug 11907

Summary: RenderSVGContainer does not mark itself for repaint after setting viewBox, slice or align
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: 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
RenderSVGContainer does not mark itself for repaint after setting viewBox, slice or align

It should invalidate itself when these change.
Comment 1 Nikolas Zimmermann 2007-01-09 14:53:44 PST
Rob fixed the viewBox case. Others are trivial to fix, too.
Comment 2 Eric Seidel (no email) 2007-06-12 11:06:24 PDT
*** Bug 12181 has been marked as a duplicate of this bug. ***
Comment 3 Nikolas Zimmermann 2010-01-13 18:46:34 PST
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.