RESOLVED INVALID 19198
<use> does not work for internal text elements
https://bugs.webkit.org/show_bug.cgi?id=19198
Summary <use> does not work for internal text elements
Andre-John Mas
Reported 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.
Attachments
Test case illustrating the issue (1.24 KB, image/svg+xml)
2008-05-22 13:32 PDT, Andre-John Mas
no flags
Expected result, as seen with Firefox 3.0 (4.33 KB, image/png)
2008-05-22 13:34 PDT, Andre-John Mas
no flags
Andre-John Mas
Comment 1 2008-05-22 13:32:30 PDT
Created attachment 21299 [details] Test case illustrating the issue
Andre-John Mas
Comment 2 2008-05-22 13:34:32 PDT
Created attachment 21300 [details] Expected result, as seen with Firefox 3.0
Andre-John Mas
Comment 3 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.
Nikolas Zimmermann
Comment 4 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.
Note You need to log in before you can comment on or make changes to this bug.