Ginuxginux / svgweb

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

SVG Object.contentDocument should act like a DOM node #227

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you navigate into an SVG Object using contentDocument, that should be a
'Document' object that acts like a DOM node with the childNodes property,
firstChild, etc. which returns the SVG root. Right now this does not work
for IE, since we don't return the proxy node for that. There are some tests
in testContentDocument() that I added recently that test for this but which
don't pass. I commented them out. One extra wrinkle is that the Document
object also has some extra properties like 'implementation' and 'defaultView'.

Original issue reported on code.google.com by bradneub...@gmail.com on 19 Aug 2009 at 3:17

GoogleCodeExporter commented 8 years ago

Original comment by bradneub...@gmail.com on 20 Oct 2009 at 12:29

GoogleCodeExporter commented 8 years ago
I see that the priority on this issues was moved to low.  Any idea of when this 
could be resolved?

Thanks

Original comment by Duffy...@gmail.com on 12 Feb 2010 at 4:28

GoogleCodeExporter commented 8 years ago
I doubt this will be addressed anytime soon. I opened it more so that I don't 
forget 
about it. Is this issue affecting you? It's rare to manipulate the document 
object itself as 
a DOM node, even though its a special kind of DOM node with a particular 
nodeType.

Original comment by bradneub...@gmail.com on 16 Feb 2010 at 6:14