Bug 106181 - svg <use> or <defs> is not acting as expected
Summary: svg <use> or <defs> is not acting as expected
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: Mac OS X 10.8
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/fezec/uTZ9Z/6/
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-05 09:43 PST by iben
Modified: 2013-01-07 15:27 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iben 2013-01-05 09:43:13 PST
I was working with the SVG object, and was trying a few experiments with the ability to template svg symbols via the <defs> and <use> combination.

In every browser tested chrome, opera, safari, firefox, and even ie, only 1 never displayed the svg result which was expected by the markup which is Safari.
I have provided the fiddle to my tests :

http://jsfiddle.net/fezec/uTZ9Z/6/

This if for safari Version 6.0.2 (8536.26.17);

Thanks for your efforts in advance!
Comment 1 Philip Rogers 2013-01-07 15:27:04 PST
(In reply to comment #0)
> I was working with the SVG object, and was trying a few experiments with the ability to template svg symbols via the <defs> and <use> combination.
> 
> In every browser tested chrome, opera, safari, firefox, and even ie, only 1 never displayed the svg result which was expected by the markup which is Safari.
> I have provided the fiddle to my tests :
> 
> http://jsfiddle.net/fezec/uTZ9Z/6/
> 
> This if for safari Version 6.0.2 (8536.26.17);
> 
> Thanks for your efforts in advance!

Thanks for taking the time to file this Iben. I tested this with Chrome 24.0.1312.45 beta, Firefox 17.0.1, and WebKit ToT and in all it appears as I'd expect (two stick figures). In Safari 6 I see nothing.

If I understand correctly, it looks like Safari 6 is broken but this has been fixed in later builds.

If I misunderstand, can you please specify:
1) What are you seeing
2) What do you expect to see
3) What browser and version