Open xleclercq opened 7 years ago
A simple test seem to show it works in the browser where the CSS is available when the SVG is constructed. I do not know how svg.js manages to take it into account but it seems it does. However when the document is generated and the CSS added later like in the test code then it doesn't work. So I think we're fine but I need to know how to apply the CSS to svgdom.js
This is probably using window.getComputedStyle()
Currently we use CSS for styling some aspects of the SVG. That will not always work fine for instance we need the size of the font before we do the layout.