OpenLayers OpenLayers

Changeset 3181

Show
Ignore:
Timestamp:
05/25/07 08:45:57 (2 years ago)
Author:
crschmidt
Message:

Pullup #722 from trunk for RC5.
svn merge 3177:HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/openlayers/2.4/lib/OpenLayers/Renderer/SVG.js

    r3177 r3181  
    5151    supported: function() { 
    5252        var svgFeature = "http://www.w3.org/TR/SVG11/feature#SVG"; 
    53         var supported = (document.implementation.hasFeature("org.w3c.svg", "1.0") || document.implementation.hasFeature(svgFeature, "1.1")); 
     53        var supported = (document.implementation &&  
     54                        (document.implementation.hasFeature("org.w3c.svg", "1.0") ||  
     55                         document.implementation.hasFeature(svgFeature, "1.1"))); 
    5456        return supported; 
    5557    },