Bug 6552

Summary: <text> transform="" attribute does not work
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P4    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
simple test case none

Eric Seidel (no email)
Reported 2006-01-14 21:09:50 PST
Even after some recent fixes to obey localTransform() <text> does still not properly respect transform="". This is due to the current inheritance hierarchy. SVGTextElementImpl does not inherit from SVGTransformableStyledElementImpl, so setTransform() is never called on the renderer. There are two ways to fix this. I prefer the first: 1. Cleaned up the inheritance hierarchy for text so that everything properly inherits through SVGTransformableElementImpl. 2. Another way to fix this is to fix SVGTransformableImpl to do what we want (which is how this works in KDE, through the use of dynamic_cast.
Attachments
simple test case (303 bytes, image/svg+xml)
2006-01-14 21:10 PST, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2006-01-14 21:10:35 PST
Created attachment 5688 [details] simple test case
Eric Seidel (no email)
Comment 2 2006-01-15 02:36:36 PST
Implemented as part of the patch attached to http://bugzilla.opendarwin.org/show_bug.cgi?id=6428
Note You need to log in before you can comment on or make changes to this bug.