Pull up patches for the following bugs from trunk:
#385: building for windows users (fix license) #453: IE gives new DOM elements a parent with fragment node type #454: Fix tests which are breaking in Opera #455: Util.isEquivalentUrl broken in Opera #463: map.setBaseLayer is a bit funky #464: Overview Map dissappears when on permalinked page #465: allow controls to live outside viewport (for real) #466: HTMLDivElement is still undefined in IE7 (but OpenLayers.Util.alphaHack() is now false) #467: isEquivalentURL() not complete for IE #468: Overview MapLosing Rectangle #469: Default marker is incorrectly centered #470: Can not use "search" property IE7 #473: Remove call to checkImgURL #474: overview map isn't properly updated when the argparser kicks in git-svn-id: http://svn.openlayers.org/branches/openlayers/2.3@2181 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
var h = 400;
|
||||
var content = "charlie";
|
||||
var color = "red";
|
||||
var hexColor = "#ff0000";
|
||||
var opacity = 0.5;
|
||||
var border = "1px solid";
|
||||
|
||||
@@ -89,7 +90,9 @@
|
||||
t.eq(contentDiv.style.overflow, "hidden", "correct content div overflow");
|
||||
t.eq(contentDiv.innerHTML, content, "correct content div content");
|
||||
|
||||
t.eq(popup.div.style.backgroundColor, color, "good default popup.backgroundColor");
|
||||
var bColor = popup.div.style.backgroundColor;
|
||||
var goodColor = ( (bColor == color) || (bColor == hexColor));
|
||||
t.ok(goodColor, "good default popup.backgroundColor");
|
||||
|
||||
if (navigator.appName.indexOf("Microsoft") == -1) {
|
||||
t.eq(parseFloat(popup.div.style.opacity), opacity, "good default popup.opacity");
|
||||
|
||||
Reference in New Issue
Block a user