- From: Kristian Sons <kristian.sons@dfki.de>
- Date: Thu, 16 Apr 2015 09:19:25 +0200
- To: www-svg@w3.org
- Message-ID: <552F627D.2080402@dfki.de>
Hi,
I found an inconsistency in the SVG implementation of Chrome and Firefox
regarding removing nodes that are referenced from a <use> element. In
Firefox, the (then) invalid reference leads to the same behavior as if
the reference was invalid during initialization, in Chorme, the
referenced object is still rendered (I didn't check any error states).
Steps to reproduce:
http://www.w3.org/TR/SVG/images/struct/defs01.svg
document.querySelector("defs rect").remove()
I didn't find somethin in the bug trackers. And the specification says
in 17.1.4 that an invalid local brings the document "in error" and the
specific behavior seems to be not really defined. But maybe I am missing
something?
If someone could enlighten me, I would create a bug report.
Thanks and best regards,
Kristian
--
_______________________________________________________________________________
Kristian Sons
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH, DFKI
Agenten und Simulierte Realität
Campus, Geb. D 3 2, Raum 0.77
66123 Saarbrücken, Germany
Phone: +49 681 85775-3833
Phone: +49 681 302-3833
Fax: +49 681 85775–2235
kristian.sons@dfki.de
http://www.xml3d.org
Geschäftsführung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
_______________________________________________________________________________
Received on Thursday, 16 April 2015 07:19:55 UTC