OpenLayers OpenLayers

Ticket #1477: preventVMLToUpperLeftCornerBug_updated.patch

File preventVMLToUpperLeftCornerBug_updated.patch, 0.7 kB (added by openlayers, 8 months ago)

Updated version of the way to prevent bug

  • VML.js

    old new  
    3737        if (!this.supported()) {  
    3838            return;  
    3939        } 
    40         if (!document.namespaces.v) { 
     40         
     41        //if (!document.namespaces.v) { 
    4142            document.namespaces.add("v", this.xmlns); 
    4243            var style = document.createStyleSheet(); 
    4344            style.addRule('v\\:*', "behavior: url(#default#VML); " + 
    4445                                   "position: absolute; display: inline-block;"); 
    45        
     46        //
    4647        OpenLayers.Renderer.Elements.prototype.initialize.apply(this,  
    4748                                                                arguments); 
    4849    },