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:
@@ -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;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user