Letractively / svgweb

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

Implement importNode #379

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Implement importNode:

https://developer.mozilla.org/En/DOM/document.importNode

Original issue reported on code.google.com by bradneub...@gmail.com on 3 Nov 2009 at 7:01

GoogleCodeExporter commented 8 years ago
Now that cloneNode and dynamic SVG roots are done, this is the last piece 
necessary
for dynamic XMLHttpRequest driven apps, so implementing now.

Original comment by bradneub...@gmail.com on 10 Nov 2009 at 7:02

GoogleCodeExporter commented 8 years ago
Actually, delayed implementing this since I had to focus on other things.

Original comment by bradneub...@gmail.com on 19 Nov 2009 at 9:49

GoogleCodeExporter commented 8 years ago
When you get back to it, I'm seeing IE8 follow the else branch of this code in 
svg.js:

    if (typeof doc.importNode == 'undefined') {
      // import the node for IE
      importedNode = document._importNodeFunc(doc, child._nodeXML, true);
    } else { // non-IE browsers
      importedNode = doc.importNode(child._nodeXML, true);
    }

So they must've implemented importNode() in IE8 (yay for feature detection).

Original comment by metaphorically@gmail.com on 22 Nov 2009 at 2:16

GoogleCodeExporter commented 8 years ago
Any news on this issue ?
Is it there a workaround for it ?

Original comment by rodrigo....@gmail.com on 2 Aug 2010 at 10:41

GoogleCodeExporter commented 8 years ago
I am getting the same issue mentioned in Comment 3 by 'metaphorically' when 
using IE 8.  To repeat is there a work around?

Original comment by cript...@gmail.com on 3 Jun 2011 at 5:59