You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting, let me look and see if that's a function of SVG.js (the library that's doing the actual SVG parsing and rendering) or some code I added that helped where there were XHTML text tags embedded in the SVG.
Hello ACE.SVG fellows,
Here's something weird I found: ACE.SVG adds phantom text child nodes to SVG root
Steps to reproduce:
Add the following SVG code as SVG doc:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" id="rootSVG" style="height:100%; width:100%"> <g id="baseIndicator_0"> </g> </svg>
Put
console.log(svgmap.rootSVG);
as init script and let render empty.Here's the output of my console, there's two text nodes that appeared as first and last child of the root node:
The text was updated successfully, but these errors were encountered: