"SVG ID references are now live" in Firefox 3.5

Volker Gersabeck <[email protected]>
Newsgroups gmane.comp.mozilla.devel.svg
Message-ID <[email protected]>
Hi,

I have some trouble with the new Firefox 3.5 and my WebApp. The scenario is
somewhat like this:

I have a svg:use tag that references some svg:g tag. Both live in the same
xhtml but in different inline svgs. Let's call the use tag the container and
the group the content. Similar to this:

<html><body>
<svg id="one"><g id="content" >...</g></svg>
<svg id="container"><use xlink:href="#content"/></svg>
</body></html>

Both parts are loaded via ajax and inserted into the xhtml dom
independently. At first, the container is loaded. At this point, the content
is not yet there. Then the content is loaded and shows up in the container.
Everything fine so far. Then I do a reload of the container (remove the old
container and insert the new container into the dom). At this point, the
content does not show up anymore. After playing with the href attribute
(setting it to something and then the original value again), i can manage to
have the content visible. However, whenever I reload the container, the
content does not show up. This setup does work in Firefox 3 and Safari, but
with the new Firefox 3.5 it does not work anymore.

After a complete day of searching for the cause of this problem and
googleing around I found this page (
https://developer.mozilla.org/en/Firefox_3.5_for_developers) where it says
that "SVG ID references are now live" in Firefox 3.5. Well, I don't
understand what this should mean to me, and since there was no link and
google didn't give me anything useful, I'm still wondering whether this
might be related to my problem. Does anybody of you have a clue what this
change of the ID references could mean?

Thanks for your support!

Regards,
Volker

--
RapidRabb.it GmbH
Kirchhofstr. 43
12055 Berlin
Tel. +49 30 6920 3773
[email protected]

www.rapidrabb.it
Accelerate your Prototyping!

RapidRabb.it GmbH
Sitz der Gesellschaft: Berlin
Registergericht Berlin-Charlottenburg, HRB 115010
Geschäftsführer: Philipp Huy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.