Update VML.js to work in IE standards mode; also, update editingtoolbar.html to trigger the (now fixed) bug to make sure it doesn't come back. Fixes #564.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2959 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -29,8 +29,8 @@ OpenLayers.Renderer.VML.prototype =
|
||||
}
|
||||
document.namespaces.add("v", "urn:schemas-microsoft-com:vml");
|
||||
var style = document.createStyleSheet();
|
||||
style.addRule('v\\:*', "behavior: url(#default#VML);");
|
||||
|
||||
style.addRule('v\\:*', "behavior: url(#default#VML); " +
|
||||
"position: relative; display: inline-block;");
|
||||
OpenLayers.Renderer.Elements.prototype.initialize.apply(this,
|
||||
arguments);
|
||||
},
|
||||
@@ -80,8 +80,8 @@ OpenLayers.Renderer.VML.prototype =
|
||||
this.rendererRoot.style.width = this.size.w;
|
||||
this.rendererRoot.style.height = this.size.h;
|
||||
|
||||
this.root.style.width = this.size.w;
|
||||
this.root.style.height = this.size.h
|
||||
this.root.style.width = "100%";
|
||||
this.root.style.height = "100%";
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user