SVG in IE (Update)
I made some changes to the IESVG behavior. I am trying to get better feature coverage without making the rendering too slow. I have been testing the code using some SVG images from different places, trying to figure out what parts of SVG seem to be more important than others. Recents chanegs include:
- Basic support for gradient fills. It’s pretty weak and may have not SVG-correct.
- Basic support for
svg:gelements. - Switched code to use DOM methods (appendChild and replaceChild) instead of slower, string-based methods.
I plan to add more support for gradients. I also plan to add some scripting support. You can do scripting now, but you need to treat the elements as VML, not SVG. I plan to add some methods to the VML elements to make them appear more SVG-like when scripting.
Files can be downloaded from here. I added the SVG lion to the samples:
Sample files: lion.htm (IE), lion.xhtml (Firefox)
Update: Fixed 404 on link above.