Bug 45723 - [PATCH] startOffset attribute of textPath cannot be animated
Summary: [PATCH] startOffset attribute of textPath cannot be animated
Status: NEW
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: SVG Viewer (show other bugs)
Version: 1.7
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Batik Developer's Mailing list
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2008-09-01 07:48 UTC by Richard Evans
Modified: 2010-06-15 05:57 UTC (History)
0 users



Attachments
text path example (954 bytes, text/plain)
2008-09-01 07:49 UTC, Richard Evans
Details
Possible Patch from Sebastian (1.05 KB, patch)
2010-06-15 05:56 UTC, Thomas Deweese
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Evans 2008-09-01 07:48:17 UTC
I'm trying to get text to flow along a path, using an animate element to alter the startOffset attribute of the textPath element.

This does not work.  Attached example is a simple textPath from the SVG spec with an animate added.
Comment 1 Richard Evans 2008-09-01 07:49:06 UTC
Created attachment 22507 [details]
text path example
Comment 2 Thomas Deweese 2010-06-15 05:56:30 UTC
Created attachment 25593 [details]
Possible Patch from Sebastian

The patch is likely only a partial fix for the problem.

In particular it only catches DOM attribute changes but ignores animated changes.  A more complete fix might be as simple as extending the change to the 'handleAnimatedAttributeChanged' method.