Remove the 'blinking' phenomenon on IE by setting the display elements to

'absolute'. Thanks to pgiraud for the patch (Closes #965)



git-svn-id: http://svn.openlayers.org/trunk/openlayers@5488 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2007-12-18 13:08:35 +00:00
parent d4ff6a4c8b
commit c1b008dcb3

View File

@@ -39,7 +39,7 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
document.namespaces.add("v", this.xmlns);
var style = document.createStyleSheet();
style.addRule('v\\:*', "behavior: url(#default#VML); " +
"position: relative; display: inline-block;");
"position: absolute; display: inline-block;");
}
OpenLayers.Renderer.Elements.prototype.initialize.apply(this,
arguments);
@@ -99,8 +99,8 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
this.rendererRoot.style.width = this.size.w;
this.rendererRoot.style.height = this.size.h;
this.root.style.width = "100%";
this.root.style.height = "100%";
this.root.style.width = this.size.w;
this.root.style.height = this.size.h;
},
/**