From 779732b63bfc64f3fe88ff9660fe1f81fb99b115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Sun, 3 Apr 2011 19:49:01 +0000 Subject: [PATCH] fix test_Handler_Box_draw in FF3, providing getComputedStyle with the correct number of arguments, this test still fails in IE8, no functional change git-svn-id: http://svn.openlayers.org/trunk/openlayers@11862 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/Handler/Box.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Handler/Box.html b/tests/Handler/Box.html index 0e26cd4a07..2090124b9f 100644 --- a/tests/Handler/Box.html +++ b/tests/Handler/Box.html @@ -20,7 +20,7 @@ function test_Handler_Box_draw(t) { var testAll = true; if (document.defaultView && document.defaultView.getComputedStyle && - !document.defaultView.getComputedStyle(document.body)) { + !document.defaultView.getComputedStyle(document.body, null)) { // we don't get dimensions for hidden frames in FF4, and our test // runs in a hidden frame. testAll = false;