Comparing SVG as img detection tests

document.implementation

Modernizr test