trying SVG check that Modernizr uses, to fix Firefox 3.6 problems
This commit is contained in:
parent
b885bad2ee
commit
c078966511
|
@ -180,7 +180,7 @@ if (!Array.prototype.indexOf){
|
||||||
* check if the browser support svg images
|
* check if the browser support svg images
|
||||||
*/
|
*/
|
||||||
function SVGSupport() {
|
function SVGSupport() {
|
||||||
return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") || document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Shape", "1.0");
|
return !!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', "svg").createSVGRect;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue