Committing an updated fix for #1906. This fixes a 2.7->2.8 regression in

particular behavior with regard to determining the size of a popup. thanks
to the absolutely tireless work of gregers on this issue! Also, in case 
anyone was wondering? Browsers suck. (Pullup #1906)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@9384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2009-05-15 15:36:21 +00:00
parent b768574d72
commit 51b5095d48
3 changed files with 55 additions and 6 deletions

View File

@@ -506,7 +506,7 @@ OpenLayers.Popup = OpenLayers.Class({
// contents into a fake contentDiv (for the CSS) and then measuring it
var preparedHTML = "<div class='" + this.contentDisplayClass+ "'>" +
this.contentDiv.innerHTML +
"<div>";
"</div>";
var containerElement = (this.map) ? this.map.layerContainerDiv
: document.body;