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
This commit is contained in:
Éric Lemoine
2011-04-03 19:49:01 +00:00
parent adbd2405ca
commit 779732b63b

View File

@@ -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;