I can't find any good information on this, best thread I found was this:createElement vs. createElementNS
But I don't understand how a line like this:
var path = document.createElementNS('http://www.w3.org/2000/svg', 'path');
Would be able to work offline. Is the string arbitrary? If you follow the link it brings you to a meaningless site.
When trying that line in a Chrome both offline and online it works. But when I try on my laptop offline, it doesn't work. After connecting online it does work. So I'm assuming the namespace is cached somewhere? I don't want to clean my chrome to test this but I may have to.
Was wondering if anything could help shed some light on this?