Ticket #1463: svg.supported.patch
| File svg.supported.patch, 0.9 kB (added by crschmidt, 10 months ago) |
|---|
-
lib/OpenLayers/Renderer/SVG.js
old new 62 62 * {Boolean} Whether or not the browser supports the SVG renderer 63 63 */ 64 64 supported: function() { 65 var svgFeature = "http://www.w3.org/TR/SVG11/feature# SVG";65 var svgFeature = "http://www.w3.org/TR/SVG11/feature#"; 66 66 return (document.implementation && 67 (document.implementation.hasFeature("org.w3c.svg", "1.0") || 68 document.implementation.hasFeature(svgFeature, "1.1"))); 67 (document.implementation.hasFeature("org.w3c.svg", "1.0") || 68 document.implementation.hasFeature(svgFeature + "SVG", "1.1") || 69 document.implementation.hasFeature(svgFeature + "BasicStructure", "1.1") )); 69 70 }, 70 71 71 72 /**
