OpenLayers OpenLayers

Ticket #965: vml-renderer.2.patch

File vml-renderer.2.patch, 1.0 kB (added by fredj, 1 year ago)

same patch

  • lib/OpenLayers/Renderer/VML.js

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