OpenLayers OpenLayers

Ticket #965: vml-renderer.patch

File vml-renderer.patch, 1.1 kB (added by pgiraud, 1 year ago)
  • /home/pierre/public_html/openlayers_965/lib/OpenLayers/Renderer/VML.js

    old new  
    3838        document.namespaces.add("v", this.xmlns); 
    3939        var style = document.createStyleSheet(); 
    4040        style.addRule('v\\:*', "behavior: url(#default#VML); " + 
    41                                "position: relative; display: inline-block;"); 
     41                               "position: absolute; display: inline-block;"); 
    4242        OpenLayers.Renderer.Elements.prototype.initialize.apply(this,  
    4343                                                                arguments); 
    4444    }, 
     
    9898        this.rendererRoot.style.width = this.size.w; 
    9999        this.rendererRoot.style.height = this.size.h; 
    100100 
    101         this.root.style.width = "100%"
    102         this.root.style.height = "100%"
     101        this.root.style.width = this.size.w
     102        this.root.style.height = this.size.h
    103103    }, 
    104104 
    105105    /**