Skip to content
Branch: master
Clone or download
Latest commit 55016a3 Feb 6, 2015


mirror for + some files to make the package available in npm and bower.


This JavaScript library provides the innerHTML property on all SVGElements.

innerHTML in a SVG document works in Chrome 6+, Safari 5+, Firefox 4+ and IE9+.

innerHTML in a HTML5 document works in Chrome 7+, Firefox 4+ and IE9+.

Doesn't work in Opera since the SVGElement interface is not exposed.

Sample Code

<g id="foo"/>

document.getElementId("foo").innerHTML = "<circle r='40' fill='green'/>";


Apache License, Version 2.0

You can’t perform that action at this time.