omit some tests in browsers that don't give us getComputedStyle for elements inside hidden frames (closes #2910)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11753 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -211,7 +211,7 @@ OpenLayers.Handler.Box = OpenLayers.Class(OpenLayers.Handler, {
|
||||
// the borders are inside the box bounds, leaving us with a
|
||||
// clientWidth of 1.
|
||||
var testDiv = document.createElement("div");
|
||||
testDiv.style.visibility = "hidden";
|
||||
//testDiv.style.visibility = "hidden";
|
||||
testDiv.style.position = "absolute";
|
||||
testDiv.style.border = "1px solid black";
|
||||
testDiv.style.width = "3px";
|
||||
|
||||
Reference in New Issue
Block a user