lewisje / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Allow use of external elements via xlink:href #534

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a file named rectangle.svg

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns="http://www.w3.org/2000/svg"
   width="100%" height="100%"
   id="svg2923"
   >

   <rect
       style="fill:#ff6600;fill-opacity:0.5;stroke:none"
       id="the_rectangle"
       width="180"
       height="100"
       x="250.90216"
       y="44.594803" />    

</svg>

2. Create a file named use_rectangle.svg

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   width="100%" height="100%"
   version="1.1" >

     <use
     id="used_rectangle"
     xlink:href="rectangle.svg#the_rectangle" />

</svg>

3. Visualized in Firefox using native rendering, and then using Flash rendering.

What is the expected output? What do you see instead?
The Flash rendering should show the rectangle on screen. It does not.

What version of the product are you using? On what operating system,
browser, and version of Flash?

Tested on Firefox 3.5 and Firefox 4.0
svgweb-2010-04-09-dracolisk
Ubuntu 9.10
Flash 10,1,53,64 

Original issue reported on code.google.com by rodrigo....@gmail.com on 3 Aug 2010 at 7:58

GoogleCodeExporter commented 8 years ago
This bug is the SVGWeb equivalent of 
https://bugs.webkit.org/show_bug.cgi?id=12499

Original comment by rodrigo....@gmail.com on 3 Aug 2010 at 8:14