WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11907
RenderSVGContainer does not mark itself for repaint after setting viewBox, slice or align
https://bugs.webkit.org/show_bug.cgi?id=11907
Summary
RenderSVGContainer does not mark itself for repaint after setting viewBox, sl...
Eric Seidel (no email)
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Nikolas Zimmermann
Comment 1
2007-01-09 14:53:44 PST
Rob fixed the viewBox case. Others are trivial to fix, too.
Eric Seidel (no email)
Comment 2
2007-06-12 11:06:24 PDT
***
Bug 12181
has been marked as a duplicate of this bug. ***
Nikolas Zimmermann
Comment 3
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug