Ticket #965: vml-renderer.2.patch
| File vml-renderer.2.patch, 1.0 kB (added by fredj, 1 year ago) |
|---|
-
lib/OpenLayers/Renderer/VML.js
old new 39 39 document.namespaces.add("v", this.xmlns); 40 40 var style = document.createStyleSheet(); 41 41 style.addRule('v\\:*', "behavior: url(#default#VML); " + 42 "position: relative; display: inline-block;");42 "position: absolute; display: inline-block;"); 43 43 } 44 44 OpenLayers.Renderer.Elements.prototype.initialize.apply(this, 45 45 arguments); … … 99 99 this.rendererRoot.style.width = this.size.w; 100 100 this.rendererRoot.style.height = this.size.h; 101 101 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; 104 104 }, 105 105 106 106 /**
