On Wed, 2014-01-22 at 04:31 +0800, Jelle Mulder wrote:
- Would it be possible to create a save option where such external files
are concatenated into one big whopper of a file? Or even better, send it all to a single root file of users choice (oh joy!)? With some nice check marks to add or not CSS, external <USE> objects, etc? It would solve a problem for all those browsers that do not support external linking or have bugs*.
*(like webkit that supported external links till Chrome version 19 and then Blink had this nice regression that yet has to get solved. Opera works fine till version 12.5 and then they went Blink, Firefox can only handle links one directory level deep these days, sigh. I foresee a brighter future though)
There are security issues with externally linked files. The browser vendors enforce a "same origin" rule. If the file is on your local disk, the browsers are not smart enough to know that the linked files are of the same origin. You need to be running a local server. With this Chrome 32 works. With Firefox, set security.fileuri.strict_origin_policy to false in about:config and the restart.
To see that the browsers do support external links look at:
http://tavmjong.free.fr/SVG/EXTERNAL/external.svg
I've tested on Linux with:
Google Chrome 32 Firefox 26 Opera 12.16
Tav