Bug 19198 - <use> does not work for internal text elements
Summary: <use> does not work for internal text elements
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 13:31 PDT by Andre-John Mas
Modified: 2010-01-21 15:51 PST (History)
1 user (show)

See Also:


Attachments
Test case illustrating the issue (1.24 KB, image/svg+xml)
2008-05-22 13:32 PDT, Andre-John Mas
no flags Details
Expected result, as seen with Firefox 3.0 (4.33 KB, image/png)
2008-05-22 13:34 PDT, Andre-John Mas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre-John Mas 2008-05-22 13:31:55 PDT
I have an SVG document that makes use of the <use>, for referencing an element defined within the document. This works for the most-part, but fails when the referenced element is a 'text' node.

I have attached a test case that works in Firefox 3 and Opera 9.5, but fails with Safari 3.1.1 and the latest nightly for Windows (r33940). I have not tested on other platforms, but suspect that it is not MS-Windows centric.
Comment 1 Andre-John Mas 2008-05-22 13:32:30 PDT
Created attachment 21299 [details]
Test case illustrating the issue
Comment 2 Andre-John Mas 2008-05-22 13:34:32 PDT
Created attachment 21300 [details]
Expected result, as seen with Firefox 3.0
Comment 3 Andre-John Mas 2008-05-23 08:20:29 PDT
I just tested with Safari 3.1.1 on MacOS X 10.4.11 and confirm the same behaviour. I will change hardware/OS to all/all.
Comment 4 Nikolas Zimmermann 2010-01-21 15:51:11 PST
Hm, the testcase is wrong. You're using <text> inside <text> - that's unspecified behaviour. If you remove the <text> objects around the acutal textual content, it will show up.