4 ms·
You can. SVG Filters are supported. http://blogs.msdn.com/b/ie/archive/2011/10/14/svg-filter-effects-in-ie10.aspx http://blogs.msdn.com/b/ie/archive/2011/10/14
by spdustin 12y ago
You can. SVG Filters are supported.
http://blogs.msdn.com/b/ie/archive/2011/10/14/svg-filter-effects-in-ie10.aspx http://blogs.msdn.com/b/ie/archive/2011/10/14/svg-filter-eff...
Edit: to clarify, the image would need to be moved into the SVG (which could be a simple DOM manipulation of the original <img> tag).
- javierbyte 12y agoThank you! I will investigate and compare.
- fitter 12y agoHm, if that's the case, then theoretically this component can be easily improved to support any DOM container (not just images) by just polyfilling filter: with native or SVG.
- spdustin 12y agoI dunno about that. <img> has a pretty direct analog in SVG that you could create by adding it (and the SVG container) to the DOM in script. Arbitrary markup would probably be best to render into a canvas. Of course, you could always just force IE9 mode... ;)