Skip to content

Commit

Permalink
Merge pull request openlayers#473 from ahocevar/svg-block
Browse files Browse the repository at this point in the history
Using display:block instead of position:absolute.
  • Loading branch information
tschaub committed May 18, 2012
2 parents 92f04a7 + 120cc06 commit ae89452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OpenLayers/Renderer/SVG.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
*/
createRenderRoot: function() {
var svg = this.nodeFactory(this.container.id + "_svgRoot", "svg");
svg.style.position = "absolute";
svg.style.display = "block";
return svg;
},

Expand Down

0 comments on commit ae89452

Please sign in to comment.